/* ============================================
   CWI SOLUTIONS - BRAND STYLESHEET
   Colors: #355dbc (blue), #2e3293 (navy), #50bd6e (green)
   ============================================ */

:root {
  --blue: #355dbc;
  --navy: #2e3293;
  --navy-dark: #1a1d5e;
  --green: #50bd6e;
  --green-dark: #3a9a54;
  --white: #ffffff;
  --off-white: #f4f6fb;
  --light-gray: #e8ecf4;
  --text-dark: #1a1d2e;
  --text-mid: #4a5068;
  --text-light: #8892a8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--green);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(18, 20, 60, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--green);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.nav-logo img {
  max-height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 2rem 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pixel-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(53, 93, 188, 0.08) 38px, rgba(53, 93, 188, 0.08) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(53, 93, 188, 0.08) 38px, rgba(53, 93, 188, 0.08) 40px);
}

.hero-diagonal {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 130%;
  background: linear-gradient(135deg, rgba(53, 93, 188, 0.25) 0%, rgba(80, 189, 110, 0.15) 100%);
  transform: skewX(-8deg);
  border-left: 3px solid rgba(80, 189, 110, 0.4);
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(80, 189, 110, 0.15);
  border: 1px solid var(--green);
  color: var(--green);
  padding: 0.4rem 1rem;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.accent-green {
  color: var(--green);
}

.accent-blue {
  color: var(--blue);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.hero-tags span {
  background: rgba(53, 93, 188, 0.25);
  border: 1px solid rgba(53, 93, 188, 0.5);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  max-width: 1200px;
  margin: 4rem auto 0;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 2rem 3rem;
  width: 100%;
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-primary.large {
  padding: 1.1rem 2.8rem;
  font-size: 1rem;
}

.btn-primary.full-width {
  width: 100%;
  text-align: center;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

/* ===== SECTIONS ===== */
.section-light {
  background: var(--off-white);
  padding: 6rem 2rem;
}

.section-dark {
  background: var(--navy-dark);
  padding: 6rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header.light {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-eyebrow.light {
  color: var(--green);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
}

.section-header.light h2 {
  color: var(--white);
}

.section-desc {
  color: var(--text-mid);
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.service-card {
  border-radius: 6px;
  padding: 3rem 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.card-blue {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
}

.card-green {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--green-dark) 100%);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.service-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.service-card ul li {
  font-size: 0.88rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.85;
}

.service-card ul li::before {
  content: "-- ";
  opacity: 0.5;
}

.service-card ul.sub-bullets {
  margin: 0.2rem 0 0 1.2rem;
}

.service-card ul.sub-bullets li {
  font-size: 0.82rem;
  border-bottom: none;
  padding: 0.2rem 0;
  opacity: 0.7;
}

.service-card ul.sub-bullets li::before {
  content: "· ";
}

.card-link {
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.card-blue .card-link {
  color: #90e8aa;
}

/* ===== WHY CWI ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin: 1rem 0 1.5rem;
  line-height: 1.2;
}

.why-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.why-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 1.5rem;
}

.pillar-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accent-blue-bg {
  background: rgba(53, 93, 188, 0.3);
}

.accent-green-bg {
  background: rgba(80, 189, 110, 0.2);
}

.pillar h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.pillar p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ===== CLIENTS ===== */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.client-logo {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: 4px;
  padding: 1rem 1.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.client-logo:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.client-logo-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid #e0e6f0;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.client-logo-img:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(53, 93, 188, 0.12);
}

.client-logo-img img {
  max-width: 130px;
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.88;
  transition: filter 0.2s, opacity 0.2s;
}

.client-logo-img:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 140px 2rem 80px;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(53, 93, 188, 0.06) 38px, rgba(53, 93, 188, 0.06) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(53, 93, 188, 0.06) 38px, rgba(53, 93, 188, 0.06) 40px);
}

.page-hero-content {
  position: relative;
  max-width: 700px;
}

.page-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  margin: 0.8rem 0 1rem;
  line-height: 1.15;
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin: 0.8rem 0 1.5rem;
  line-height: 1.2;
}

.about-text p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-block {
  background: var(--white);
  border-left: 4px solid var(--blue);
  padding: 1.5rem 1.8rem;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 12px rgba(46, 50, 147, 0.08);
}

.value-block h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.value-block p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ===== CERT GRID ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.cert-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: border-color 0.2s;
}

.cert-card:hover {
  border-color: var(--green);
}

.cert-badge {
  display: inline-block;
  background: var(--blue);
  color: white;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
  margin-bottom: 0.8rem;
  letter-spacing: 0.06em;
}

.cert-card h4 {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.cert-card p {
  color: var(--green);
  font-size: 0.78rem;
}

.business-data {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 2rem;
}

.data-row {
  display: flex;
  gap: 2rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.9rem;
}

.data-row:last-child {
  border-bottom: none;
}

.data-row span:first-child {
  color: var(--green);
  font-weight: 600;
  min-width: 160px;
}

.data-row span:last-child {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== IT SERVICES ===== */
.it-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.it-service {
  background: var(--white);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(46, 50, 147, 0.08);
  border-top: 4px solid var(--blue);
  transition: transform 0.2s, box-shadow 0.2s;
}

.it-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(46, 50, 147, 0.15);
}

.it-service-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.it-service h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.it-service p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.it-service.it-service-wide {
  display: block;
}

.it-service.it-service-wide h3 {
  font-size: 1.05rem;
}

.it-service.it-service-wide .it-service-num {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

/* ===== LEGACY INFRA GRID (if used elsewhere) ===== */
.infra-card.infra-card-wide {
  grid-column: 1 / -1;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.infra-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 2rem;
  transition: border-color 0.2s;
}

.infra-card:hover {
  border-color: var(--green);
}

.infra-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.infra-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* ===== INFRASTRUCTURE SERVICES LIST ===== */
.infra-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
  margin-top: 3rem;
}

.infra-service {
  width: 100%;
}

.infra-icon {
  font-size: 1.2rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.infra-service h3 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.25;
  max-width: none;
}

.infra-service p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.65;
  max-width: none;
}

/* ===== ASSETS SECTION ===== */
.assets-section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 2.5rem;
}

.assets-section h3 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--green);
  padding-bottom: 0.8rem;
}

.assets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.asset-group h4 {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.asset-group ul {
  list-style: none;
}

.asset-group ul li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.asset-group ul li::before {
  content: "▸ ";
  color: var(--green);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  background: rgba(53, 93, 188, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.contact-detail p,
.contact-detail a {
  font-size: 0.92rem;
  color: var(--text-mid);
  text-decoration: none;
}

.contact-detail a {
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.contact-detail a:hover {
  color: var(--blue);
}

.contact-certs {
  margin-top: 2rem;
}

.contact-certs h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(46, 50, 147, 0.12);
  border: 1px solid var(--light-gray);
}

.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--green);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--light-gray);
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
}

.form-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 6px;
  padding: 1rem;
  margin-top: 1rem;
  font-weight: 600;
  text-align: center;
}

/* ===== CERT TAGS ===== */
.cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cert-tags span {
  background: rgba(53, 93, 188, 0.1);
  border: 1px solid rgba(53, 93, 188, 0.25);
  color: var(--navy);
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cage {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* ===== CAPABILITY STATEMENT CTA ===== */
.capstat-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
  border-left: 4px solid #355dbc;
  border-radius: 8px;
}

.capstat-cta-dark {
  background: linear-gradient(135deg, rgba(53, 93, 188, 0.18) 0%, rgba(26, 29, 94, 0.35) 100%);
  border-left: 4px solid #50bd6e;
}

.capstat-text h3 {
  font-size: 1.1rem;
  color: #1a1d5e;
  margin-bottom: 0.4rem;
}

.capstat-cta-dark .capstat-text h3 {
  color: #ffffff;
}

.capstat-text p {
  font-size: 0.88rem;
  color: #444;
  max-width: 480px;
  line-height: 1.5;
  margin: 0;
}

.capstat-cta-dark .capstat-text p {
  color: #aab4c8;
}

.btn-capstat {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  padding: 0.85rem 1.6rem;
  background: #355dbc;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(53, 93, 188, 0.35);
}

.btn-capstat:hover {
  background: #1a1d5e;
  transform: translateY(-2px);
}

.btn-capstat-light {
  background: #50bd6e;
  color: #0d1020;
  box-shadow: 0 4px 14px rgba(80, 189, 110, 0.35);
}

.btn-capstat-light:hover {
  background: #3da057;
  color: #ffffff;
}

.btn-capstat-icon {
  font-size: 1.1rem;
}

/* ===== PAST PERFORMANCE LOGOS ===== */
.pp-logos-section {
  margin-top: 2.5rem;
  padding: 2rem 0 1rem;
  border-top: 1px solid #e0e6f0;
}

.pp-logos-section-light,
.pp-logos-dark {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pp-logos-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1.5rem;
}

.pp-logos-section-light .pp-logos-label,
.pp-logos-dark .pp-logos-label {
  color: #aab4c8;
}

.pp-logos-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
}

.pp-logo-item,
.pp-logo-item-dark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.pp-logo-item img,
.pp-logo-item-dark img {
  width: auto;
  max-width: 120px;
  height: 60px;
  object-fit: contain;
  object-position: center;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.pp-logo-item img {
  filter: grayscale(30%);
  opacity: 0.85;
}

.pp-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.pp-logo-item-dark img {
  filter: none;
  opacity: 0.95;
}

.pp-logo-item-dark:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.pp-logo-item span,
.pp-logo-item-dark span {
  font-size: 0.7rem;
  text-align: center;
  max-width: 110px;
  line-height: 1.3;
}

.pp-logo-item span {
  color: #666;
}

.pp-logo-item-dark span {
  color: #aab4c8;
}

/* ===== FEATURED PROJECTS ===== */
.projects-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e6f0;
}

.projects-section-dark {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.projects-heading {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.projects-heading-light {
  color: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(26, 29, 94, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(26, 29, 94, 0.14);
}

.project-card-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.project-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e8ecf4;
}

.project-img-wrap img,
.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s;
}

.project-card:hover .project-img-wrap img,
.project-card:hover .project-img {
  transform: scale(1.04);
}

.project-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8ecf4, #d0d8ee);
  color: #8899bb;
  font-size: 0.85rem;
  font-weight: 500;
  flex-direction: column;
  gap: 0.4rem;
}

.project-card-dark .project-img-placeholder {
  background: linear-gradient(135deg, rgba(53, 93, 188, 0.2), rgba(26, 29, 94, 0.4));
  color: #aab4c8;
}

.project-card-body {
  padding: 1.2rem 1.4rem 1.5rem;
}

.project-client {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.project-client-green {
  color: var(--green);
}

.project-card-body h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.project-card-dark .project-card-body h4 {
  color: #ffffff;
}

.project-card-body p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.project-card-dark .project-card-body p {
  color: #aab4c8;
}

/* ===== FOOTER ===== */
.footer {
  background: #0d0f3a;
  padding: 4rem 2rem 0;
  border-top: 3px solid var(--green);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-legal {
  font-size: 0.78rem !important;
  color: rgba(255, 255, 255, 0.35) !important;
}

.footer-links h5,
.footer-contact h5,
.footer-certs h5 {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.6rem;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: var(--green);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--green);
}

.footer-social {
  margin-top: 1rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.linkedin-btn {
  background: #0077b5;
  color: #ffffff;
}

.linkedin-btn:hover {
  background: #005f8e;
  transform: translateY(-1px);
}

.linkedin-icon {
  color: #0077b5 !important;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-certs .cert-tags span {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
}

.footer-certs .cage {
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
}

/* ===== ANIMATIONS ===== */
.animate-in {
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

.delay-4 {
  animation-delay: 0.6s;
}

.delay-5 {
  animation-delay: 0.75s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 0.1s;
}

.reveal.delay-2 {
  transition-delay: 0.2s;
}

.reveal.delay-3 {
  transition-delay: 0.3s;
}

.reveal.delay-4 {
  transition-delay: 0.4s;
}

.reveal.delay-5 {
  transition-delay: 0.5s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services-grid,
  .why-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .it-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .infra-grid {
    grid-template-columns: 1fr;
  }

  .infra-services-grid {
    grid-template-columns: 1fr;
  }

  .assets-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-pillars {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .capstat-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .pp-logos-strip {
    gap: 1.2rem 1.5rem;
    justify-content: center;
  }

  .pp-logo-item img,
  .pp-logo-item-dark img {
    height: 44px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(18, 20, 60, 0.99);
    padding: 1rem 0;
    border-top: 1px solid rgba(80, 189, 110, 0.3);
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }

  .hamburger {
    display: block;
  }
}

@media (max-width: 600px) {
  .nav-links {
    top: 70px;
  }

  .cert-grid {
    grid-template-columns: 1fr 1fr;
  }

  .it-services-grid,
  .assets-grid,
  .footer-grid,
  .projects-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== PRINT ===== */
@media print {
  .navbar,
  .hamburger,
  .cta-banner,
  .footer-social,
  .skip-link {
    display: none !important;
  }

  body {
    font-size: 12pt;
  }

  a {
    color: #000;
    text-decoration: none;
  }

  .hero,
  .page-hero {
    min-height: auto;
    padding: 2rem 0;
  }
}