/* ============================================
   CSS Variables & Root Styles
   ============================================ */

:root {
  /* Colors */
  --primary-color: #0c1b2d;
  --primary-soft-color: #0d1e31;
  --secondary-color: #31527c;
  --heading-text: #111827;
  --text-color: #9eaec1;
  --text-white: #fff;
  --border-color: #1e3552;
  --gradient: linear-gradient(
    to right,
    rgba(28, 53, 84, 1) 0%,
    rgba(45, 76, 116, 1) 100%
  );

  /* Fonts */
  --primary-font: 'DM Serif Display', serif;
  --secondary-font: 'Inter', sans-serif;

  /* Font Sizes - Mobile First */
  --fs-h1: 48px;
  --fs-h2: 32px;
  --fs-h3: 20px;
  --fs-h4: 18px;
  --fs-h5: 16px;
  --fs-h6: 14px;
  --fs-sm: 14px;
  --fs-xs: 12px;

  /* Radius */

  --rounded-sm: 12px;
  --rounded: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* ============================================
   Global Styles
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--secondary-font);
  color: var(--text-color);
  background-color: var(--primary-color);
  overflow-x: hidden;
}

/* ============================================
   Links & Text
   ============================================ */

a {
  color: var(--text-white);
  text-decoration: none;
  transition: color var(--transition-base);
}

ol,
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

.accessibility {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.accessibility:focus {
  position: static;
  width: auto;
  height: auto;
}

.wrapper {
  width: 100%;
  position: relative;
  overflow: clip;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
}
.page-holder {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.block {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.rounded-sm {
  border-radius: 12px !important;
}

.rounded {
  border-radius: 20px !important;
}

.border {
  border: 1px solid var(--border-color) !important;
}

.badge {
  color: var(--text-color);
  background-color: #172b44;
}

.sticky-column {
  position: sticky;
  top: 120px;
}
/* ============================================
   Buttons
   ============================================ */

.btn {
  padding: 10px 25px;
}

.btn-primary {
  background: var(--gradient);
  border-color: var(--border-color);
}

.btn-primary:hover {
  border-color: var(--border-color);
}
.btn-secondary {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-primary {
  color: var(--text-white);
  border-color: #1e3552;
}

.btn-outline-primary:hover {
  background-color: #1e3552;
  border-color: #1e3552;
}

/* ============================================
   Heading Tags
   ============================================ */

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--primary-font);
}

h1,
.h1 {
  font-size: var(--fs-h1);
}

h2,
.h2 {
  font-size: var(--fs-h2);
}

h3,
.h3 {
  font-size: var(--fs-h3);
}

h4,
.h4 {
  font-size: var(--fs-h4);
}

h5,
.h5 {
  font-size: var(--fs-h5);
}

h6,
.h6 {
  font-size: var(--fs-h6);
}

p:last-child {
  margin-bottom: 0;
}

.fs-sm {
  font-size: var(--fs-sm) !important;
}

.fs-xs {
  font-size: var(--fs-xs);
}

.sub-title {
  color: #5b88af;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  font-family: var(--secondary-font);
}

.section-title {
  margin-bottom: 15px;
}

.section-title span {
  color: var(--secondary-color);
}

.card {
  color: var(--text-color);
  background-color: rgba(18, 36, 56, 0.55);
}

.icon-wrap {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: var(--rounded-sm);
  background: var(--gradient);
  margin-bottom: 10px;
}

/* ============================================
   Color
   ============================================ */

.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-color {
  color: var(--text-color);
}

.text-light-primary {
  color: #5b88af;
}

.text-heading {
  color: var(--heading-text);
}

.card {
  transition: var(--transition-slow);
}

.card:hover {
  box-shadow: 0 5px 30px rgba(49, 82, 124, 0.6);
}

/* ============================================
   Header
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--primary-color);
  border-bottom: 1px solid var(--border-color);
  z-index: 9999;
}

.nav-link {
  color: var(--text-white);
}

.nav-link.active {
  color: var(--secondary-color);
}

/* ── Mobile Spy Nav ── */
.mobile-spy-nav {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.mobile-nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 4px;
  padding-bottom: 2px;
}

.mobile-nav::-webkit-scrollbar {
  display: none;
}

.mobile-nav .nav-item {
  flex-shrink: 0;
}

.mobile-nav .nav-link {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 40px;
  color: #888;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
}

/* Only show active item text clearly on mobile */
.mobile-nav .nav-link:not(.active) {
  opacity: 0.35;
  font-size: 12px;
}

.mobile-nav .nav-link.active {
  color: #fff;
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  opacity: 1;
  font-size: 13px;
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
  padding: 80px 0 50px 0;
}

.hero-btns {
  border-bottom: 1px solid var(--border-color);
}

.hero-btns .btn {
  width: 100%;
}

/* ============================================
   About Section
   ============================================ */

.about-section .section-title span {
  display: table;
  color: var(--text-white);
  font-size: var(--fs-h3);
  background-color: var(--primary-color);
  padding: 8px 10px;
}

/* ============================================
   Who We are Section
   ============================================ */
.who-we-are-section .section-title span {
  color: var(--text-color);
  font-style: italic;
  display: table;
  font-weight: 400;
}

.feature-item {
  margin-bottom: 30px;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item .icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.pillar-item-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.pillar-item.item-1 {
  grid-area: item-1;
}
.pillar-item.item-2 {
  grid-area: item-2;
}
.pillar-item.item-3 {
  grid-area: item-3;
}
.pillar-item.item-4 {
  grid-area: item-4;
}
.pillar-item.item-5 {
  grid-area: item-5;
}
.pillar-item.item-6 {
  grid-area: item-6;
}

.service-gallery img {
  width: 85px;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.innovation-content-wrap {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.innovation-section .section-title span {
  display: table;
  color: var(--heading-text);
  background-color: var(--text-white);
  padding: 8px 15px;
}

.timeline-wrap {
  padding-left: 20px;
}

.timeline-wrap:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background-color: var(--border-color);
}

.timeline:before {
  content: '\f192';
  position: absolute;
  left: calc(-20px - 8px);
  top: 50%;
  margin-top: -12px;
  font-family: 'Fontawesome';
  color: #7eb8e866;
}

.cta-section {
  background: var(--gradient);
}

.top-footer {
  padding: 50px 0 20px;
}

.bottom-footer {
  padding: 20px 0 40px 0;
  border-top: 1px solid var(--border-color);
}

.bottom-footer a {
  color: var(--text-color);
}

.si-item {
  padding: 8px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--rounded-sm);
}

.si-item:hover {
  color: var(--primary-color);
  background-color: var(--text-color);
}
