/* ==========================================================
   Page-specific styles — IT Infrastructure & Cybersecurity
   Extends theme.min.css / Custome.css. Does not modify them.
   Palette in use (from theme): primary #e2603f, dark #1d1d33
   ========================================================== */

html { scroll-behavior: smooth; }

body { background-color: #fff; }

.section-dark { background-color: #16213a; color: #b7bdd6; }
.section-dark p { color: #8f9bc4; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.bg-soft { background-color: #f6f8fb; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e2603f;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: #e2603f;
  display: inline-block;
}

/* ---------------- Header ---------------- */
/* Always solid — never transparent-over-hero, so the menu can never
   camouflage against whatever content happens to sit underneath it. */
#header-wrap {
  background: #101a2e;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
#header-wrap.fixed-header {
  background: #101a2e !important;
  box-shadow: 0 12px 30px rgba(2,6,16,0.35) !important;
}
#header-wrap .navbar-brand { font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
#header-wrap .nav-link { color: rgba(255,255,255,0.78); font-weight: 500; }
#header-wrap .nav-link:hover, #header-wrap .nav-link.active { color: #fff; }
#header-wrap .btn-header-cta { border-radius: 6px; }

/* ---------------- Hero ---------------- */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 15% 20%, #1c2c4d 0%, #101a2e 55%, #0a1120 100%);
  padding-top: 150px;
  padding-bottom: 130px;
  overflow: hidden;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(226,96,63,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226,96,63,0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 30% 30%, black 0%, transparent 70%);
  pointer-events: none;
}
.hero-section h1 { color: #fff; font-weight: 300; font-size: 3.1rem; line-height: 1.18; }
.hero-section h1 strong { font-weight: 700; }
.hero-section .lead { color: #a9b3d6; font-size: 1.15rem; max-width: 480px; }
.hero-stat-row { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 3rem; padding-top: 1.75rem; }
.hero-stat-row .num { font-size: 1.7rem; font-weight: 700; color: #fff; }
.hero-stat-row .lbl { font-size: 0.8rem; color: #8993b8; }

/* Signature element: defense-in-depth rings */
.defense-diagram { position: relative; width: 100%; max-width: 460px; margin: 0 auto; }
.defense-diagram svg { width: 100%; height: auto; }
.defense-diagram .ring-label {
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  fill: #c2cbe8;
  letter-spacing: 0.04em;
}
.defense-diagram .ring-label.strong { fill: #ffffff; font-weight: 600; }

/* ---------------- Stats strip ---------------- */
.stats-strip { background: #16213a; padding: 2.75rem 0; }
.stats-strip .count-number { font-size: 2.2rem; font-weight: 700; color: #fff; }
.stats-strip .stat-label { color: #8993b8; font-size: 0.85rem; }

/* ---------------- Service cards ---------------- */
.service-card {
  background: #fff;
  border: 1px solid #e3e7f0;
  border-radius: 14px;
  padding: 2rem 1.75rem;
  height: 100%;
  transition: all 0.35s ease;
}
.service-card:hover { box-shadow: 0 20px 45px rgba(226,96,63,0.12); transform: translateY(-6px); border-color: #dde3f0; }
.service-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: #faece7;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h4 { font-size: 1.1rem; font-weight: 600; }
.service-card ul { padding-left: 0; list-style: none; margin-bottom: 0; }
.service-card ul li { font-size: 0.9rem; color: #626c8a; padding: 0.2rem 0 0.2rem 1.3rem; position: relative; }
.service-card ul li::before {
  content: "";
  position: absolute; left: 0; top: 0.85rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: #e2603f;
}
.track-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
  margin-bottom: 1rem;
}
.track-pill.infra { background: #faece7; color: #e2603f; }
.track-pill.sec { background: #e7ebf5; color: #1f2f52; }

/* ---------------- Process ---------------- */
.process-step { position: relative; padding-left: 0; }
.process-num {
  font-size: 2.4rem; font-weight: 800; color: transparent;
  -webkit-text-stroke: 1.5px #d3daee;
  line-height: 1;
}
.process-step h5 { margin-top: 0.75rem; font-weight: 600; }
.process-line { position: absolute; top: 22px; left: 100%; width: 100%; height: 1px; background: #dbe1ef; }

/* ---------------- About ---------------- */
.about-media { position: relative; }
.about-media img { border-radius: 16px; }
.about-media svg.systems-graphic { width: 100%; height: auto; display: block; }
.about-badge {
  position: absolute; bottom: -28px; left: -28px;
  background: #fff; border-radius: 14px; box-shadow: 0 20px 45px rgba(226,96,63,0.18);
  padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 12px;
}
.about-badge .num { font-size: 1.6rem; font-weight: 800; color: #e2603f; line-height: 1; }
.about-badge .lbl { font-size: 0.78rem; color: #626c8a; max-width: 110px; line-height: 1.25; }
.check-list { list-style: none; padding-left: 0; }
.check-list li { position: relative; padding-left: 2.1rem; margin-bottom: 0.9rem; color: #3f4763; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: -1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #e2603f; color: #fff; font-size: 0.72rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------------- Testimonials ---------------- */
.testi-card {
  background: #f6f8fb; border-radius: 16px; padding: 2.25rem;
  margin: 10px 6px 30px;
}
.testi-card p.quote { color: #384068; font-size: 1.02rem; font-style: italic; }
.testi-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.owl-dots { text-align: center; margin-top: 0.5rem; }
.owl-dot span { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: #dfe3ee; margin: 0 4px; }
.owl-dot.active span { background: #e2603f; width: 22px; border-radius: 5px; }

/* ---------------- CTA ---------------- */
.cta-banner {
  background: linear-gradient(120deg, #16213a 0%, #1f2f52 100%);
  border-radius: 22px;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #a9b3d6; }

/* ---------------- Footer ---------------- */
.site-footer { background: #101a2e; color: #8993b8; padding-top: 4.5rem; }
.site-footer h6 { color: #fff; font-weight: 600; margin-bottom: 1.25rem; font-size: 0.95rem; }
.site-footer a { color: #8993b8; }
.site-footer a:hover { color: #ff8a65; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 3rem; padding: 1.5rem 0; font-size: 0.85rem; }
.social-dot {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 8px;
}
.social-dot:hover { background: #e2603f; }
.social-dot svg { width: 16px; height: 16px; }

@media (max-width: 991px) {
  .hero-section { padding-top: 110px; padding-bottom: 90px; }
  .hero-section h1 { font-size: 2.3rem; }
  .about-badge { position: static; margin-top: -40px; margin-left: 20px; width: fit-content; }
  .cta-banner { padding: 2.25rem; }
}

/* ---------------- Logo ---------------- */
.brand-mark { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark .mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, #e2603f 0%, #ff8a65 100%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark .mark svg { width: 20px; height: 20px; }
.brand-mark .word { font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1; color: #fff; }
.brand-mark .word .dash { font-weight: 300; opacity: 0.7; }
.brand-mark .word .x { color: #ff8a65; }

/* ---------------- Dropdown nav ---------------- */
.navbar .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(10,15,31,0.18);
  padding: 0.6rem;
  margin-top: 10px;
}
.navbar .dropdown-menu .dropdown-item {
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 0.92rem;
  color: #3f4763;
}
.navbar .dropdown-menu .dropdown-item:hover { background: #faece7; color: #e2603f; }
.navbar .dropdown-toggle::after { vertical-align: 2px; }

/* ---------------- Interior page header (breadcrumb banner) ---------------- */
.page-header {
  position: relative;
  background: radial-gradient(circle at 85% 20%, #1c2c4d 0%, #101a2e 55%, #0a1120 100%);
  padding-top: 130px;
  padding-bottom: 70px;
  overflow: hidden;
}
.page-header .hero-grid-overlay { opacity: 0.6; }
.page-header h1 { color: #fff; font-weight: 300; font-size: 2.5rem; margin-bottom: 0.75rem; }
.page-header h1 strong { font-weight: 700; }
.breadcrumb-trail { font-size: 0.9rem; color: #8993b8; }
.breadcrumb-trail a { color: #8993b8; }
.breadcrumb-trail a:hover { color: #ff8a65; }
.breadcrumb-trail .sep { margin: 0 8px; opacity: 0.5; }
.breadcrumb-trail .current { color: #fff; }

@media (max-width: 991px) {
  .page-header { padding-top: 95px; padding-bottom: 50px; }
  .page-header h1 { font-size: 1.9rem; }
}

/* ---------------- Value / mission cards ---------------- */
.value-card {
  background: #fff; border: 1px solid #e3e7f0; border-radius: 14px;
  padding: 1.75rem; height: 100%;
}
.value-card .value-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: #faece7; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.value-card .value-icon svg { width: 22px; height: 22px; }
.value-card h5 { font-weight: 600; font-size: 1rem; }
.value-card p { font-size: 0.9rem; margin-bottom: 0; }

/* ---------------- Service detail page ---------------- */
.service-hero-icon {
  width: 70px; height: 70px; border-radius: 16px;
  background: linear-gradient(135deg, #e2603f 0%, #ff8a65 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.service-hero-icon svg { width: 34px; height: 34px; }

.sub-service-row {
  display: flex; gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid #e3e7f0;
}
.sub-service-row:last-child { border-bottom: none; }
.sub-service-row .ss-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: #faece7; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sub-service-row .ss-icon svg { width: 26px; height: 26px; }
.sub-service-row h5 { font-weight: 600; margin-bottom: 0.35rem; }
.sub-service-row p { margin-bottom: 0; font-size: 0.92rem; color: #626c8a; }

.other-service-card {
  display: block; border-radius: 14px; border: 1px solid #e3e7f0;
  padding: 1.5rem; height: 100%; transition: all 0.3s ease;
  text-decoration: none;
}
.other-service-card:hover { border-color: #e2603f; box-shadow: 0 15px 35px rgba(226,96,63,0.12); transform: translateY(-4px); }
.other-service-card .oc-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: #faece7; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.other-service-card .oc-icon svg { width: 22px; height: 22px; }
.other-service-card h6 { font-weight: 600; color: #1d1d33; margin-bottom: 0.4rem; }
.other-service-card p { font-size: 0.85rem; color: #626c8a; margin-bottom: 0; }
.other-service-card .oc-link { font-size: 0.85rem; color: #e2603f; font-weight: 600; }

/* ---------------- Contact page ---------------- */
.contact-info-card {
  background: #fff; border: 1px solid #e3e7f0; border-radius: 14px;
  padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1rem;
}
.contact-info-card .ci-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: #faece7; display: flex; align-items: center; justify-content: center;
}
.contact-info-card .ci-icon svg { width: 20px; height: 20px; }
.contact-info-card h6 { font-weight: 600; margin-bottom: 0.25rem; font-size: 0.95rem; }
.contact-info-card p { margin-bottom: 0; font-size: 0.88rem; color: #626c8a; }

.contact-form-panel {
  background: #fff; border: 1px solid #e3e7f0; border-radius: 16px; padding: 2.25rem;
}
.contact-form-panel .form-control, .contact-form-panel .form-select {
  border-radius: 8px; border: 1px solid #dde3f0; padding: 0.7rem 1rem; font-size: 0.92rem;
}
.contact-form-panel .form-control:focus, .contact-form-panel .form-select:focus {
  border-color: #e2603f; box-shadow: 0 0 0 3px rgba(226,96,63,0.14);
}
.contact-form-panel label { font-size: 0.85rem; font-weight: 600; color: #3f4763; margin-bottom: 0.4rem; }
.map-frame { border-radius: 16px; overflow: hidden; border: 1px solid #e3e7f0; height: 100%; min-height: 320px; }

/* placeholder-content notice used only in dummy build */
.dummy-flag {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: #1f2f52; background: #e7ebf5;
  padding: 0.2rem 0.6rem; border-radius: 20px; margin-bottom: 0.75rem;
}

/* ---------------- Careers page ---------------- */
.job-card {
  background: #fff; border: 1px solid #dfeae7; border-radius: 14px;
  padding: 1.75rem 2rem; margin-bottom: 1.25rem;
}
.job-card-head {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #e3e7f0;
}
.job-card h4 { font-weight: 600; margin-bottom: 0.5rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.job-pill {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.28rem 0.7rem; border-radius: 20px; background: #faece7; color: #e2603f;
}
.job-pill.alt { background: #e7ebf5; color: #1f2f52; }
.job-card h6 { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: #66807a; margin-bottom: 0.5rem; }
.job-card ul { padding-left: 1.1rem; margin-bottom: 1.25rem; }
.job-card li { font-size: 0.92rem; color: #4a5570; margin-bottom: 0.35rem; }
.job-card p { font-size: 0.94rem; color: #4a5570; }
.department-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #66807a; margin: 2.5rem 0 1rem;
}
.department-label:first-of-type { margin-top: 0; }

/* ---------------- Clients page ---------------- */
.logo-tile {
  background: #fff; border: 1px solid #e9edf7; border-radius: 12px;
  height: 110px; display: flex; align-items: center; justify-content: center;
  padding: 1.25rem; transition: all 0.25s ease;
}
.logo-tile:hover { border-color: #e2603f; box-shadow: 0 12px 30px rgba(226,96,63,0.1); transform: translateY(-3px); }
.logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.industry-row {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem 0; border-bottom: 1px solid #e3e7f0;
}
.industry-row:last-child { border-bottom: none; }
.industry-row .ind-icon {
  width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0;
  background: #faece7; display: flex; align-items: center; justify-content: center;
}
.industry-row .ind-icon svg { width: 22px; height: 22px; }
.industry-row h5 { font-weight: 600; margin-bottom: 0.3rem; font-size: 1rem; }
.industry-row p { margin-bottom: 0; font-size: 0.9rem; color: #626c8a; }

/* ---------------- Legal / policy article ---------------- */
.legal-article h2 { font-size: 1.4rem; font-weight: 600; margin-top: 2.5rem; margin-bottom: 1rem; color: #1d1d33; }
.legal-article h2:first-child { margin-top: 0; }
.legal-article h3 { font-size: 1.05rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.6rem; color: #1d1d33; }
.legal-article p, .legal-article li { color: #3f4763; font-size: 0.96rem; line-height: 1.75; }
.legal-article ul, .legal-article ol { padding-left: 1.4rem; }
.legal-article li { margin-bottom: 0.5rem; }
.legal-updated { font-size: 0.85rem; color: #8993b8; margin-bottom: 2rem; }

/* ==========================================================
   Responsive — tablet & phone
   ========================================================== */

/* Tablet: 768px – 991px */
@media (max-width: 991px) {
  .navbar .container { flex-wrap: wrap; }
  .navbar-collapse { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }
  .navbar-nav .nav-item { padding: 0.35rem 0; }
  .navbar .dropdown-menu { background: #fff; }
  #header-wrap .btn-header-cta { width: 100%; text-align: center; }
  .navbar-nav.align-items-lg-center { align-items: stretch !important; }

  .hero-section h1 { font-size: 2.05rem; }
  .hero-section .lead { max-width: 100%; }
  .hero-stat-row .num { font-size: 1.4rem; }
  .defense-diagram { max-width: 360px; }

  .stats-strip .count-number { font-size: 1.8rem; }

  .service-card { padding: 1.6rem 1.4rem; }
  .value-card { padding: 1.4rem; }

  .about-media { margin-bottom: 2.5rem; }

  .process-step { margin-bottom: 1.5rem; }

  .cta-banner .col-lg-4 { text-align: left !important; margin-top: 1.25rem; }
  .cta-banner .btn-lg { width: 100%; }

  .contact-form-panel { padding: 1.75rem; }
  .footer-bottom { text-align: center; gap: 0.75rem; }
}

/* Phone: up to 767px */
@media (max-width: 767px) {
  body { font-size: 15px; }

  #header-wrap { padding: 8px 0; }
  .brand-mark .mark { width: 32px; height: 32px; }
  .brand-mark .mark svg { width: 17px; height: 17px; }
  .brand-mark .word { font-size: 1.2rem; }

  .hero-section { padding-top: 100px; padding-bottom: 60px; }
  .hero-section h1 { font-size: 1.7rem; line-height: 1.25; }
  .hero-section .lead { font-size: 1rem; }
  .eyebrow { font-size: 0.72rem; }
  .hero-stat-row { margin-top: 2rem; padding-top: 1.25rem; }
  .hero-stat-row .num { font-size: 1.2rem; }
  .hero-stat-row .lbl { font-size: 0.72rem; }
  .defense-diagram { max-width: 300px; }
  .defense-diagram .ring-label { font-size: 10.5px; }

  .page-header h1 { font-size: 1.55rem; }
  .breadcrumb-trail { font-size: 0.82rem; }

  .stats-strip { padding: 2rem 0; }
  .stats-strip .count-number { font-size: 1.5rem; }
  .stats-strip .stat-label { font-size: 0.78rem; }

  h2.fw-light, .fw-light { font-size: 1.5rem !important; }
  .service-card h4, .value-card h5 { font-size: 1rem; }

  .service-icon, .value-icon { width: 48px; height: 48px; }
  .service-icon svg, .value-icon svg { width: 24px; height: 24px; }

  .sub-service-row, .industry-row { flex-direction: column; gap: 0.75rem; padding: 1.35rem 0; }
  .sub-service-row .ss-icon, .industry-row .ind-icon { width: 44px; height: 44px; }

  .other-service-card { padding: 1.25rem; }

  .about-badge { padding: 1rem 1.15rem; gap: 10px; }
  .about-badge .num { font-size: 1.35rem; }
  .about-badge .lbl { font-size: 0.72rem; max-width: 95px; }

  .cta-banner { padding: 1.75rem; border-radius: 16px; }
  .cta-banner h2 { font-size: 1.3rem !important; }

  .contact-form-panel { padding: 1.25rem; border-radius: 12px; }
  .contact-info-card { padding: 1.1rem; }
  .map-frame { min-height: 220px; }

  .logo-tile { height: 90px; padding: 1rem; }

  .site-footer { padding-top: 3rem; }
  .site-footer .col-lg-4, .site-footer .col-lg-2 { margin-bottom: 1.75rem; }
  .social-dot { width: 34px; height: 34px; }

  .legal-article h2 { font-size: 1.2rem; margin-top: 2rem; }
  .legal-article p, .legal-article li { font-size: 0.9rem; }
}

/* Small phones: up to 380px */
@media (max-width: 380px) {
  .hero-section h1 { font-size: 1.45rem; }
  .hero-stat-row { flex-wrap: wrap; }
  .hero-stat-row .col-4 { flex: 0 0 50%; max-width: 50%; margin-bottom: 0.75rem; }
  .btn-lg { padding: 0.6rem 1.25rem; font-size: 0.95rem; }
}
