/* Radiance Infotech shared brand and responsive refinement layer. */
:root {
  --brand-blue: #0878e8;
  --brand-blue-dark: #075cad;
  --brand-blue-soft: #eaf4ff;
  --brand-green: #119b25;
  --brand-green-dark: #08771a;
  --brand-green-soft: #eaf8ed;
  --brand-ink: #10243e;
  --brand-muted: #53657a;
  --brand-surface: #ffffff;
  --brand-canvas: #f6f9fc;
  --brand-border: #dce6f0;
  --brand-focus: #ffd54a;
  --brand-radius-sm: 10px;
  --brand-radius: 16px;
  --brand-radius-lg: 24px;
  --brand-shadow-sm: 0 6px 20px rgba(16, 36, 62, .08);
  --brand-shadow: 0 18px 48px rgba(16, 36, 62, .12);
  --navy: #082e57;
  --navy-light: #0b3b6c;
  --indigo: #075cad;
  --blue: #0878e8;
  --electric: #2592ff;
  --cyan: #54b9ff;
  --accent: #35b548;
  --success: #119b25;
  --gray-50: #f6f9fc;
  --gray-100: #eef4f8;
  --gray-200: #dce6f0;
  --gray-400: #7890a8;
  --gray-600: #53657a;
  --gray-800: #10243e;
  --radius: 16px;
  --shadow: var(--brand-shadow-sm);
  --shadow-lg: var(--brand-shadow);
  --bs-primary: #0878e8;
  --bs-secondary: #119b25;
  --bs-dark: #082e57;
}

html { scroll-padding-top: 88px; }
body { color: var(--brand-ink); background: var(--brand-surface); line-height: 1.65; }
body, header, main, section, footer { max-width: 100%; }
img, svg, video, iframe { max-width: 100%; height: auto; }
a { text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }

/* The supplied logo is always displayed as-is inside a neutral presentation area. */
.logo { min-width: 0; }
.logo img,
.brand-logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
  aspect-ratio: 26 / 9;
  padding: 5px 9px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 35, 75, .14);
}
.footer-brand .logo img { height: 58px; }

header {
  background: rgba(8, 46, 87, .97) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
  box-shadow: 0 7px 24px rgba(4, 31, 61, .12);
}
header nav.container { min-height: 76px; height: auto; }
.nav-links a { border-radius: var(--brand-radius-sm) !important; }
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 3px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: #51d05f;
}
.dropdown-menu { border-color: rgba(255,255,255,.14) !important; }
#hamburger, .navbar-toggler { min-width: 44px; min-height: 44px; border-radius: 10px; }
#hamburger:hover { background: rgba(255,255,255,.1); }
.mobile-menu {
  display: none !important;
  position: absolute;
  right: 0;
  left: 0;
  top: 76px !important;
  max-height: calc(100vh - 76px);
  padding: 16px max(20px, calc((100vw - 1200px) / 2 + 20px));
  flex-direction: column;
  gap: 4px;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.12);
  overflow-y: auto;
  box-shadow: var(--brand-shadow);
}
.mobile-menu a { min-height: 44px; display: flex; align-items: center; }

.btn, .btn-accent, .btn-white, .btn-wa, .form-submit, .filter-btn, .filter-tab, .form-tab {
  min-height: 44px;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn-accent, .form-submit { background: var(--brand-green) !important; color: #fff !important; }
.btn-accent:hover, .form-submit:hover { background: var(--brand-green-dark) !important; }
.btn-primary { background: var(--brand-blue) !important; }
.btn:hover, .btn-accent:hover, .btn-white:hover, .btn-wa:hover, .form-submit:hover { transform: translateY(-2px); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--brand-focus) !important;
  outline-offset: 3px !important;
}
::selection { color: #fff; background: var(--brand-blue); }

.tag { color: var(--brand-blue-dark) !important; background: var(--brand-blue-soft) !important; border-color: #b9d9f8 !important; }
.page-hero, .hero { background-color: var(--navy) !important; }
.cta-band { background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue), var(--brand-green-dark)) !important; }
.section-header p, .lead { color: var(--brand-muted); }

/* Consistent depth and borders across the existing component vocabulary. */
:where(.service-card, .product-card, .feature-card, .why-card, .industry-card, .stat-card,
 .mvv-card, .team-card, .tl-card, .t-card, .contact-card, .form-card, .faq-item,
 .help-card, .info-card, .value-card, .process-card, .product-block) {
  border-color: var(--brand-border) !important;
  box-shadow: var(--brand-shadow-sm);
}
:where(.service-card, .product-card, .feature-card, .why-card, .industry-card, .team-card,
 .tl-card, .t-card, .contact-card, .faq-item, .help-card, .info-card, .value-card, .process-card):hover {
  border-color: rgba(8,120,232,.45) !important;
  box-shadow: var(--brand-shadow);
}

input, select, textarea, .search-input {
  min-height: 48px;
  max-width: 100%;
  border-color: var(--brand-border) !important;
  border-radius: var(--brand-radius-sm) !important;
  color: var(--brand-ink);
}
textarea { min-height: 120px; }
input:focus, select:focus, textarea:focus {
  border-color: var(--brand-blue) !important;
  box-shadow: 0 0 0 4px rgba(8,120,232,.13) !important;
}
input:invalid:not(:placeholder-shown) { border-color: #c43d4b !important; }
.comp-table-wrap { -webkit-overflow-scrolling: touch; box-shadow: var(--brand-shadow-sm); }
.comp-table th { background: var(--navy) !important; }
.faq-q { min-height: 56px; }
.wa-float, .back-to-top { right: max(18px, env(safe-area-inset-right)) !important; bottom: max(18px, env(safe-area-inset-bottom)) !important; }

@media (max-width: 1100px) {
  .nav-links, .nav-cta { display: none !important; }
  #hamburger { display: block !important; margin-left: auto; }
  .section { padding: 72px 0; }
  .mobile-menu { background: var(--navy) !important; }
  .mobile-menu.open { display: flex !important; }
  .hero-floating { display: none; }
}
@media (max-width: 768px) {
  .container { padding-right: 20px !important; padding-left: 20px !important; }
  .section, .section-sm { padding-top: 60px; padding-bottom: 60px; }
  .section-header { margin-bottom: 36px !important; }
  .page-hero { padding-top: 60px !important; padding-bottom: 60px !important; }
  .footer-bottom { justify-content: center !important; text-align: center; }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr !important; gap: 0 !important; }
  .cta-band { padding: 64px 0 !important; }
}
@media (max-width: 480px) {
  .container { padding-right: 16px !important; padding-left: 16px !important; }
  .logo img, .brand-logo { height: 46px; max-width: 174px; padding: 4px 7px; }
  header nav.container { min-height: 68px; }
  .mobile-menu { top: 68px !important; max-height: calc(100vh - 68px); padding: 14px 16px !important; }
  .mobile-cta, .hero-actions, .cta-actions { flex-direction: column; width: 100%; }
  .mobile-cta > *, .hero-actions > *, .cta-actions > * { width: 100%; justify-content: center; text-align: center; }
  .h-display { font-size: clamp(2rem, 11vw, 2.65rem) !important; }
  .h-section { font-size: clamp(1.7rem, 8vw, 2.15rem) !important; }
  .mini-cards, .stats-grid { grid-template-columns: 1fr !important; }
  .wa-float { width: 50px !important; height: 50px !important; }
}
@media (min-width: 1280px) {
  .container { max-width: 1240px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
