:root {
  --primary: #0b1b3b;
  --primary-dark: #050816;
  --accent: #f7b500;
  --light-bg: #f7f8fc;
  --text-dark: #222;
  --muted: #6c757d;
}

* {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text-dark);
}

/* Basic text defaults */
p,
li,
small {
  color: var(--text-dark);
}

.about-highlight-card ul li {
  color: white;
}

/* TOP BAR */
.top-bar {
  background: #050816;
  font-size: 0.8rem;
}

/* NAVBAR */
.main-navbar {
  background: rgba(11, 27, 59, 0.98);
  padding: 0.6rem 0;
}

.navbar-brand {
  color: #fff !important;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-title {
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
}

.logo-subtitle {
  font-size: 0.7rem;
  color: #cfd5ff;
}

.nav-link {
  color: #f1f1f1 !important;
  font-size: 0.9rem;
  margin: 0 0.25rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
}

.btn-quote {
  background: var(--accent);
  color: #111;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  border: none;
}

.btn-quote:hover {
  opacity: 0.9;
  background: #ffffff;
  color: #000;
  transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
  background: radial-gradient(circle at top left, #2b3e86, #050816 60%);
  color: #ffffff;
  padding: 90px 0 70px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-top: 18px;
  line-height: 1.25;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  margin-top: 12px;
  font-size: 0.98rem;
  max-width: 560px;
  color: #dde2ff;
}

.btn-primary-hero {
  background: var(--accent);
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  color: #111;
}

.btn-primary-hero:hover {
  opacity: 0.92;
  background: #ffffff; /* Slightly darker yellow */
  color: #000;
  transform: translateY(-2px);
}

.btn-outline-hero {
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.stat-card {
  background: rgba(5, 8, 22, 0.8);
  border-radius: 12px;
  padding: 10px 10px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card h3 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--accent);
}

.stat-card p {
  margin: 2px 0 0;
  font-size: 0.75rem;
  color: #d9ddff;
}

/* HERO FORM CARD (dark, so light text) */
.hero-form-card {
  background: #0d142f;
  border-radius: 14px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  color: #f4f6ff;
}

.hero-form-card h5,
.hero-form-card p,
.hero-form-card label,
.hero-form-card small {
  color: #f4f6ff;
}

.hero-form-card .text-muted {
  color: #d0d5ff !important;
}

.form-label-sm {
  font-size: 0.78rem;
}

.form-control-sm,
.form-select-sm {
  font-size: 0.8rem;
  border-radius: 8px;
}

/* SECTIONS */
.section-padding {
  padding: 70px 0;
}

.section-light {
  background: var(--light-bg);
}

/* Dark sections – force light text everywhere inside */
.section-dark {
  background: var(--primary-dark);
  color: #ffffff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: #ffffff;
}

.section-dark p,
.section-dark li,
.section-dark small {
  color: #e1e4ff;
}

.section-header h2 {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-header p {
  font-size: 0.95rem;
  color: var(--muted);
}

.section-dark .section-header p,
.section-dark .text-muted {
  color: #c6c9ff !important;
}

/* SERVICE CARDS */
.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 18px 16px;
  border: 1px solid #e1e4f5;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
  border-color: var(--accent);
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: #fff7dc;
  margin-bottom: 8px;
}

/* INDUSTRIES */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.industry-item {
  background: #f3f4ff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.85rem;
  border: 1px solid #dde0ff;
}

/* WHY CLIENTS TRUST */
.why-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.why-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(247, 181, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
}

/* PROCESS SECTION */
.process-steps {
  margin-top: 10px;
}

.process-step {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(247, 181, 0, 0.18);
  border: 1px solid rgba(247, 181, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 600;
}

/* CTA CARD (dark) */
.cta-card {
  background: #111627;
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
  color: #f4f6ff;
}

.cta-card h5,
.cta-card p,
.cta-card li,
.cta-card small {
  color: #f4f6ff;
}

.cta-card .text-muted {
  color: #d0d5ff !important;
}

/* FOOTER */
.site-footer {
  background: #050816;
  color: #d3d7ff;
  padding: 30px 0 18px;
  font-size: 0.9rem;
}

.site-footer h5,
.site-footer h6 {
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #1b1f3a;
  padding-top: 8px;
  font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 80px;
  }
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-subtitle {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .stat-card {
    text-align: center;
  }
}

/* PAGE HERO (INNER PAGES) */
.page-hero {
  background: #f7f8fc;
  border-bottom: 1px solid #e0e3f5;
  padding: 60px 0 40px;
}

.page-breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.page-title {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.page-subtitle {
  font-size: 0.95rem;
  max-width: 700px;
  color: #555;
}

/* ABOUT PAGE ELEMENTS */
.section-heading {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.about-highlight-card {
  background: #0b1b3b;
  color: #f4f6ff;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(5, 8, 22, 0.6);
  font-size: 0.9rem;
}

.about-highlight-card li {
  margin-bottom: 4px;
}

.mv-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 16px 14px;
  border: 1px solid #e1e4f5;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  height: 100%;
  font-size: 0.9rem;
}

/* About / Careers dark CTA card */
.about-cta-card {
  background: #111627;
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
  font-size: 0.9rem;
  color: #f4f6ff;
}

.about-cta-card h5,
.about-cta-card p,
.about-cta-card .small,
.about-cta-card strong,
.about-cta-card li {
  color: #f4f6ff;
}

.about-cta-card p.small,
.about-cta-card .small.text-muted {
  color: #d0d5ff !important;
}

/* SERVICES PAGE SPECIFIC */
.segment-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 16px 14px;
  border: 1px solid #e1e4f5;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  font-size: 0.9rem;
  height: 100%;
}

.package-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 16px 14px;
  border: 1px solid #e1e4f5;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  font-size: 0.9rem;
  height: 100%;
}

.package-card-highlight {
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(247, 181, 0, 0.25);
}

/* INDUSTRIES PAGE */
.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.industry-tags span {
  font-size: 0.8rem;
  background: #f3f4ff;
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid #dde0ff;
}

.coverage-card {
  background: #0b1b3b;
  color: #f4f6ff;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 10px 28px rgba(5, 8, 22, 0.7);
  font-size: 0.9rem;
}

.coverage-card h5,
.coverage-card p,
.coverage-card li,
.coverage-card small {
  color: #f4f6ff;
}

.industry-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 16px 14px;
  border: 1px solid #e1e4f5;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  font-size: 0.9rem;
  height: 100%;
}

.matrix-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 16px 14px;
  border: 1px solid #e1e4f5;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  font-size: 0.85rem;
}

/* CAREERS PAGE */
.career-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 16px 14px;
  border: 1px solid #e1e4f5;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  font-size: 0.9rem;
  height: 100%;
}

.tag-skill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.tag-skill {
  font-size: 0.75rem;
  background: #f3f4ff;
  border-radius: 999px;
  padding: 3px 9px;
  border: 1px solid #dde0ff;
}

.apply-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 18px 20px;
  border: 1px solid #e1e4f5;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  font-size: 0.9rem;
}

/* CONTACT PAGE */
.contact-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid #e1e4f5;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  font-size: 0.9rem;
}

.contact-card h6 {
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-info-list li {
  margin-bottom: 4px;
}

.contact-info-list span {
  font-weight: 600;
}

.contact-note {
  background: #f7f8fc;
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid #e1e4f5;
}

/* Map placeholder – dark block */
.map-placeholder {
  background: #0b1b3b;
  color: #f4f6ff;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 10px 28px rgba(5, 8, 22, 0.7);
  font-size: 0.9rem;
}

.map-placeholder p,
.map-placeholder small,
.map-placeholder strong {
  color: #f4f6ff;
}

/* GALLERY PAGE */
.gallery-filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.filter-pill {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #dde0ff;
  background: #f3f4ff;
  cursor: default;
}

.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}

/* responsive grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.gallery-item {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e1e4f5;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 65%;
  overflow: hidden;
}

.gallery-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img-wrap img {
  transform: scale(1.05);
}

.gallery-caption {
  padding: 8px 12px 10px;
  font-size: 0.85rem;
}

/* GALLERY LIGHTBOX MODAL */
.gallery-modal-content {
  background: #050816;
  border-radius: 18px;
  padding: 10px 10px 14px;
  position: relative;
}

.gallery-modal-content .modal-body {
  padding: 10px;
}

#galleryModalImg {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  border-radius: 12px;
}

#galleryModalCaption {
  color: #f4f6ff;
}

.gallery-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 999px;
  padding: 4px;
  filter: invert(1);
}
