/* =====================================================================
   Digitalab — Custom styles (website redesign)
   Edits from "Proposed edits to current website" brief.
   Kept separate from the vendor template (style.css / responsive.css)
   so all redesign changes live in one place.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Point 1 — New menu
   Home · Capabilities · Compas (Digitalab gradient) · About · Contact Us
   --------------------------------------------------------------------- */

/* ---- Sticky header redesign ---- */
.sticky-header {
  background: rgba(10, 0, 50, 0.95) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
}

/* Center logo + nav vertically */
.sticky-header .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.sticky-header .logo-box {
  float: none !important;
  margin: 0 !important;
  line-height: 1;
}

.sticky-header .menu-area {
  float: none !important;
}

/* Restore li spacing */
.sticky-header .main-menu .navigation > li {
  margin: 0 18px !important;
  padding: 18px 0 !important;
  float: left !important;
}

.sticky-header .main-menu .navigation > li:first-child {
  margin-left: 0 !important;
}

.sticky-header .main-menu .navigation > li:last-child {
  margin-right: 0 !important;
}

/* All nav links — override every template selector */
.sticky-header .main-menu .navigation > li > a,
.sticky-header .main-menu .navigation > li:last-child > a,
.sticky-header .main-menu .navigation > li > a:before,
.sticky-header .main-menu .navigation > li > a:after {
  color: #fff !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 4px 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.sticky-header .main-menu .navigation > li > a:hover {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Compas pill */
.sticky-header .main-menu .navigation li.menu-compas > a,
.sticky-header .main-menu .navigation li.menu-compas > a:after {
  background: linear-gradient(to right, #f83672 0%, #f7a623 100%) !important;
  color: #fff !important;
  padding: 6px 20px !important;
  border-radius: 30px !important;
  box-shadow: 0 3px 12px rgba(248, 54, 114, 0.35) !important;
}

/* Remove ALL current indicators from sticky (template + ours) */
.sticky-header .main-menu .navigation > li > a::before,
.sticky-header .main-menu .navigation > li > a::after,
.sticky-header .main-menu .navigation > li.current > a::before,
.sticky-header .main-menu .navigation > li.current > a::after {
  display: none !important;
  content: none !important;
  background: transparent !important;
  width: 0 !important;
  height: 0 !important;
}

/* Current item: bright text + underline on the li (avoids conflict with template's ::after on a) */
.sticky-header .main-menu .navigation > li.current:not(.menu-compas) > a {
  font-weight: 700 !important;
  color: #fff !important;
}

.sticky-header .main-menu .navigation > li.current:not(.menu-compas) {
  position: relative;
}

.sticky-header .main-menu .navigation > li.current:not(.menu-compas)::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
}

/* Active nav item — short white underline (Compas excluded, it already has the pill) */
.main-menu .navigation > li.current:not(.menu-compas) > a {
  position: relative;
}

.main-menu .navigation > li.current:not(.menu-compas) > a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
}

.main-menu .navigation > li.menu-compas > a {
  background: linear-gradient(to right, #f83672 0%, #f7a623 100%);
  color: #fff;
  padding: 8px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(248, 54, 114, 0.4);
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

.main-menu .navigation > li.menu-compas > a:hover {
  background: linear-gradient(to right, #f7a623 0%, #f83672 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(247, 166, 35, 0.45);
}

.main-menu .navigation > li.menu-compas {
  padding-top: 60px;
  padding-bottom: 18px;
}

.mobile-menu .navigation li.menu-compas > a {
  background: linear-gradient(to right, #f83672 0%, #f7a623 100%);
  color: #fff !important;
  border-radius: 30px;
  margin: 6px 0;
}

/* ---------------------------------------------------------------------
   Point 2 — Front Page (Home) redesign
   --------------------------------------------------------------------- */

/* ---- Hero: gradient CTA button ---- */
.banner-style-11 .content-box .btn-box a.btn-hero-cta {
  background: linear-gradient(135deg, #0289e7 0%, #2B2A70 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(2, 137, 231, 0.4);
}

.banner-style-11 .content-box .btn-box a.btn-hero-cta:hover {
  background: linear-gradient(135deg, #2B2A70 0%, #0289e7 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 28px rgba(43, 42, 112, 0.5);
}

/* ---- Capabilities section ---- */
.capabilities-section {
  padding: 80px 0 70px;
  background: #f7f8ff;
}

.cap-outer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.caps-main-title {
  font-size: 38px !important;
  font-weight: 800 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1a1a3e !important;
}

.capabilities-section .sec-title {
  margin-bottom: 0;
}

.capabilities-section .sec-title p {
  font-size: 16px;
  color: #555;
  max-width: 620px;
  margin: 12px auto 0;
}

.capabilities-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  margin-top: 44px;
  align-items: stretch;
}

.cap-card {
  flex: 1 0 0;
  min-width: 0;
  background: #fff;
  border-radius: 10px;
  padding: 26px 20px 24px;
  box-shadow: 0 2px 14px rgba(43, 42, 112, 0.07);
  border: 1px solid rgba(43, 42, 112, 0.08);
  display: flex;
  flex-direction: column;
  -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cap-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(43, 42, 112, 0.13);
}

.cap-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #2B2A70;
  margin-bottom: 12px;
  line-height: 1.35;
}

.cap-divider {
  width: 28px;
  height: 2px;
  background: #2B2A70;
  margin-bottom: 14px;
  border-radius: 2px;
  flex-shrink: 0;
}

.cap-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.cap-link {
  font-size: 12px;
  font-weight: 700;
  color: #0289e7;
  text-decoration: none;
  letter-spacing: 0.3px;
  margin-top: auto;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.cap-link:hover {
  color: #2B2A70;
  text-decoration: none;
}

.cap-link i {
  margin-left: 4px;
  font-size: 10px;
}

.cap-tagline {
  text-align: center;
  margin-top: 48px;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 500;
  color: #2B2A70;
  font-style: italic;
  letter-spacing: 0.3px;
}

/* ---- COMPAS home section ---- */
.compas-home-section {
  padding: 100px 0 80px;
  background: linear-gradient(110deg, #0e0040 0%, #2a0080 40%, #5200c8 100%);
  position: relative;
  overflow: hidden;
}

.section-curve {
  width: 100%;
  line-height: 0;
  margin-top: 30px;
}

.section-curve svg {
  display: block;
  width: 100%;
  height: 22px;
}

.compas-text-col {
  color: #fff;
}

.compas-text-box {
  padding-right: 30px;
}

.compas-title {
  font-size: 52px !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: 2px;
  margin-bottom: 16px !important;
  line-height: 1.1 !important;
}

.compas-subtitle {
  font-size: 20px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 30px !important;
  line-height: 1.45 !important;
}

.compas-body {
  font-size: 15px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  line-height: 1.75 !important;
  margin-bottom: 10px !important;
}

.compas-home-section strong {
  color: #fff;
  font-weight: 700;
}

.compas-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-transition: background 0.3s, box-shadow 0.3s;
  transition: background 0.3s, box-shadow 0.3s;
}

.compas-cta:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* COMPAS logo graphic (right side) */
.compas-graphic-col {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0 40px;
}

.compas-logo-wrapper {
  text-align: center;
}

.compas-logo-img {
  max-width: 420px;
  width: 100%;
  height: auto;
  /* Subtle floating animation */
  -webkit-animation: compas-float 5s ease-in-out infinite;
  animation: compas-float 5s ease-in-out infinite;
  filter: drop-shadow(0 20px 60px rgba(120, 60, 255, 0.45));
}

@-webkit-keyframes compas-float {
  0%, 100% { -webkit-transform: translateY(0px); transform: translateY(0px); }
  50%       { -webkit-transform: translateY(-14px); transform: translateY(-14px); }
}
@keyframes compas-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

/* Bottom wave */
.compas-wave {
  width: 100%;
  line-height: 0;
  margin-top: 60px;
}

.compas-wave svg {
  display: block;
  width: 100%;
  height: 30px;
}

/* ---- Why Choose us — staggered 2-column layout ---- */
.why-choose-section {
  padding: 100px 0 90px;
  background: #fff;
}

.why-main-title {
  font-size: 44px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a1a3e !important;
  margin-bottom: 18px !important;
}

.why-title-divider {
  width: 38px;
  height: 3px;
  background: #2B2A70;
  border-radius: 2px;
  margin: 0 auto 24px;
}

.why-choose-section .sec-title p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 16px;
  color: #444;
  line-height: 1.7;
}

/* Staggered 2-column wrapper */
.why-cards-wrapper {
  display: flex;
  gap: 26px;
  margin-top: 64px;
  align-items: flex-start;
}

.why-cards-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* Right column offset — creates the stagger */
.why-col-right {
  margin-top: 80px;
}

/* Card base */
.why-card-large {
  padding: 52px 46px;
  -webkit-transition: transform 0.3s, box-shadow 0.3s;
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card-large:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(43, 42, 112, 0.1);
}

.why-card-large h3 {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a3e;
  margin-bottom: 22px;
  line-height: 1.2;
}

.why-card-large p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Card color variants — each with a unique organic corner */
.why-card-expertise {
  background: #eceaf7;
  border-radius: 20px 110px 20px 20px;
}

.why-card-innovation {
  background: #fce8ee;
  border-radius: 110px 20px 20px 20px;
}

.why-card-customer {
  background: #e4f5ea;
  border-radius: 20px 20px 20px 110px;
}

.why-card-support {
  background: #fefae4;
  border-radius: 20px 20px 110px 20px;
}

/* ---- Footer light redesign ---- */
.footer-light {
  background: #eceaf7 !important;
  background-image: none !important;
  padding-top: 70px !important;
  padding-bottom: 0 !important;
}

/* Suppress the template's dark pseudo-layers */
.footer-light::before,
.footer-light::after {
  display: none !important;
}

/* Logo */
.footer-logo-fig {
  margin-bottom: 14px;
}

.footer-logo-img {
  height: 44px;
  width: auto;
}

/* Description */
.footer-desc {
  font-size: 14px !important;
  color: #555 !important;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Follow us + LinkedIn button */
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.footer-follow-label {
  font-size: 13px;
  color: #555;
}

.footer-linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #0077b5;
  border-radius: 6px;
  color: #fff !important;
  font-size: 14px;
  text-decoration: none !important;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}

.footer-linkedin-btn:hover {
  background: #005885;
  color: #fff !important;
}

/* Column title */
.footer-col-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #1a1a3e !important;
  margin-bottom: 18px !important;
}

/* Capabilities bullet list */
.footer-caps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-caps-list li {
  padding: 4px 0;
  font-size: 14px;
  color: #444;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.footer-caps-list li::before {
  content: "•";
  color: #2B2A70;
  flex-shrink: 0;
  font-size: 12px;
}

.footer-caps-list li a {
  color: #444;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.footer-caps-list li a:hover {
  color: #0289e7;
}

/* Contact info list */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 5px 0;
  font-size: 14px;
  color: #444;
  line-height: 1.55;
}

.footer-contact-list li i {
  margin-top: 3px;
  color: #2B2A70;
  flex-shrink: 0;
  font-size: 13px;
  min-width: 14px;
}

.footer-contact-list li a {
  color: #444;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.footer-contact-list li a:hover {
  color: #0289e7;
}

/* Neutralize the template's own footer-bottom border */
.footer-light .footer-bottom {
  border-top: none !important;
}

/* Footer bottom: thin divider + centered copyright */
.footer-bottom-light {
  margin-top: 50px;
  border-top: 1px solid rgba(43, 42, 112, 0.15) !important;
  background: transparent !important;
  padding: 22px 0 !important;
  text-align: center;
}

.copyright-light {
  color: #666 !important;
  font-size: 14px;
  font-weight: 400;
}

.copyright-light a {
  color: #2B2A70;
  text-decoration: none;
}

/* ---- Responsive ---- */
@media (max-width: 1199px) {
  .cap-outer {
    padding: 0 20px;
  }
}

@media (max-width: 991px) {
  .capabilities-grid {
    flex-wrap: wrap;
  }

  .cap-card {
    flex: 0 0 calc(50% - 14px);
    min-width: calc(50% - 14px);
  }

  .cap-outer {
    padding: 0 16px;
  }

  .compas-text-box {
    padding-right: 0;
    margin-bottom: 20px;
    text-align: center;
  }

  .compas-graphic-col {
    margin-top: 0;
  }

  .compas-title {
    font-size: 38px !important;
  }

  .compas-subtitle {
    font-size: 17px !important;
  }
}

@media (max-width: 575px) {
  .cap-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .cap-tagline {
    font-size: 16px;
  }

  .caps-main-title {
    font-size: 28px !important;
  }

  .compas-title {
    font-size: 32px !important;
  }

  .compas-logo-img {
    max-width: 280px;
  }

  .why-cards-wrapper {
    flex-direction: column;
  }

  .why-col-right {
    margin-top: 0;
  }

  .why-card-large {
    padding: 38px 32px;
  }

  .why-main-title {
    font-size: 32px !important;
  }
}

/* =====================================================================
   Compas page — three sections
   ===================================================================== */

/* ---- Hero ---- */
.compas-page-hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: linear-gradient(110deg, #0e0040 0%, #2a0080 45%, #5200c8 100%);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* compas-page-hero curve handled by .section-curve div */

.compas-page-hero .container {
  position: relative;
  z-index: 1;
  padding-bottom: 60px;
}

.compas-page-text {
  color: #fff;
  padding-right: 30px;
}

.compas-page-title {
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.compas-page-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 22px;
  line-height: 1.4;
}

.compas-page-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  margin-bottom: 34px;
}

/* ---- Venn diagram ---- */
.compas-venn-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

.venn-container {
  position: relative;
  width: 430px;
  height: 420px;
  margin: 0 auto;
}

/* Outer circles — base styles (all centered; offset via span transform) */
.venn-circle {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  padding: 10px;
  z-index: 2;
  opacity: 0;
}

/* Colors & positions
   Container 430×420px, center (215,210), orbit r=115px, circle 170px (offset −85) */
.vc-ai   { background: #ee1180; left: 130px; top:  10px;
           -webkit-animation: venn-pop 0.9s ease-out 0.15s both;
           animation:         venn-pop 0.9s ease-out 0.15s both; }
.vc-ba   { background: #6b1fcc; left: 239px; top:  90px;
           -webkit-animation: venn-pop 0.9s ease-out 0.45s both;
           animation:         venn-pop 0.9s ease-out 0.45s both; }
.vc-iaas { background: #ee2255; left: 198px; top: 218px;
           -webkit-animation: venn-pop 0.9s ease-out 0.60s both;
           animation:         venn-pop 0.9s ease-out 0.60s both; }
.vc-csd  { background: #9b1fa0; left:  62px; top: 218px;
           -webkit-animation: venn-pop 0.9s ease-out 0.75s both;
           animation:         venn-pop 0.9s ease-out 0.75s both; }
.vc-dpa  { background: #ff8800; left:  21px; top:  90px;
           -webkit-animation: venn-pop 0.9s ease-out 0.30s both;
           animation:         venn-pop 0.9s ease-out 0.30s both; }

/* Nudge text outward per circle using transform on the span.
   Direction matches each circle's angle from center — stays inside the circular boundary. */
.vc-ai   span { -webkit-transform: translateY(-16px); transform: translateY(-16px); }
.vc-ba   span { -webkit-transform: translate(14px, -8px); transform: translate(14px, -8px); }
.vc-iaas span { -webkit-transform: translate(10px, 14px); transform: translate(10px, 14px); }
.vc-csd  span { -webkit-transform: translate(-10px, 14px); transform: translate(-10px, 14px); }
.vc-dpa  span { -webkit-transform: translate(-14px, -8px); transform: translate(-14px, -8px); }

/* Pop-in: smooth scale from invisible to full */
@-webkit-keyframes venn-pop {
  0%   { opacity: 0; -webkit-transform: scale(0.35); transform: scale(0.35); }
  70%  { opacity: 0.88; -webkit-transform: scale(1.03); transform: scale(1.03); }
  100% { opacity: 0.88; -webkit-transform: scale(1); transform: scale(1); }
}
@keyframes venn-pop {
  0%   { opacity: 0; transform: scale(0.35); }
  70%  { opacity: 0.88; transform: scale(1.03); }
  100% { opacity: 0.88; transform: scale(1); }
}

/* Continuous gentle breathing after pop */
@-webkit-keyframes venn-breathe {
  0%, 100% { -webkit-transform: scale(1); transform: scale(1); }
  50%       { -webkit-transform: scale(1.05); transform: scale(1.05); }
}
@keyframes venn-breathe {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}

/* Center hub — centered at (215, 210) with 150px diameter */
.venn-center {
  position: absolute;
  left: 140px;
  top: 135px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #fff;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.25);
  opacity: 0;
  -webkit-animation: venn-center-pop 1s ease-out 1.10s both, venn-center-glow 4s ease-in-out 2.10s infinite;
  animation:         venn-center-pop 1s ease-out 1.10s both, venn-center-glow 4s ease-in-out 2.10s infinite;
}

@-webkit-keyframes venn-center-pop {
  0%   { opacity: 0; -webkit-transform: scale(0.2); transform: scale(0.2); }
  70%  { opacity: 1; -webkit-transform: scale(1.06); transform: scale(1.06); }
  100% { opacity: 1; -webkit-transform: scale(1); transform: scale(1); }
}
@keyframes venn-center-pop {
  0%   { opacity: 0; transform: scale(0.2); }
  70%  { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

/* Subtle glow pulse for the center hub */
@-webkit-keyframes venn-center-glow {
  0%, 100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
  }
  50% {
    -webkit-transform: scale(1.06);
    transform: scale(1.06);
    box-shadow: 0 8px 36px rgba(140, 60, 220, 0.30);
  }
}
@keyframes venn-center-glow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 8px 36px rgba(140, 60, 220, 0.30);
  }
}

/* Full-color logo inside the center circle (image already has icon + "Compas" text) */
.venn-center-logo {
  width: 130px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Hero logo (full-color on dark bg) */
.compas-hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 10px 40px;
}

.compas-hero-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  -webkit-animation: compas-float 5s ease-in-out infinite;
  animation: compas-float 5s ease-in-out infinite;
}

/* Full-color logo in "What is Compas" (image already has icon + "Compas" text) */
.compas-brand-full-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* ---- What is Compas ---- */
.compas-what-section {
  padding: 100px 0 80px;
  background: #fff;
}

.compas-section-title {
  font-size: 38px;
  font-weight: 800;
  color: #1a1a3e;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.compas-section-divider {
  width: 36px;
  height: 3px;
  background: #2B2A70;
  border-radius: 2px;
  margin: 0 auto 26px;
}

.compas-section-desc {
  font-size: 16px;
  color: #444;
  line-height: 1.75;
  max-width: 700px;
  margin: 0 auto 60px;
}

/* Capabilities list + bracket + logo */
.compas-what-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 60px;
}

.compas-caps-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compas-caps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compas-caps-list li {
  font-size: 17px;
  color: #1a1a3e;
  font-weight: 500;
  padding: 7px 0;
  border-bottom: 1px solid rgba(43, 42, 112, 0.08);
}

.compas-caps-list li:last-child {
  border-bottom: none;
}

.compas-bracket {
  font-size: 130px;
  font-weight: 100;
  color: #1a1a3e;
  line-height: 1;
  margin-left: 6px;
  padding-top: 8px;
  font-family: Georgia, serif;
}

.compas-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 40px;
}

/* Show only the CC icon from the inverted logo */
.compas-brand-icon {
  width: 160px;
  height: 130px;
  object-fit: cover;
  object-position: top center;
}

.compas-brand-name {
  font-size: 44px;
  font-weight: 700;
  color: #1a1a3e;
  margin: 0;
  margin-top: -6px;
}

.compas-not-product {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* ---- Story behind Compas ---- */
.compas-story-section {
  padding: 80px 0 100px;
  background: #f7f8ff;
}

.story-cards-row {
  margin-top: 52px;
}

.story-card {
  padding: 46px 38px;
  margin-bottom: 24px;
  height: calc(100% - 24px);
}

.story-card-left {
  background: #eceaf7;
  border-radius: 20px 20px 80px 20px;
}

.story-card-right {
  background: #fce8ee;
  border-radius: 80px 20px 20px 20px;
}

.story-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 16px;
}

.story-card p:last-child {
  margin-bottom: 0;
}

.story-bold-q {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1a1a3e !important;
}

.story-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

/* CC icon only (crop inverted logo) */
.story-logo-icon {
  width: 52px;
  height: 44px;
  object-fit: cover;
  object-position: top center;
}

.story-brand-name {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a3e;
}

/* =====================================================================
   About Us page
   ===================================================================== */

/* ---- About Us hero ---- */
.about-hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  background: linear-gradient(140deg, #0e0060 0%, #1a0080 45%, #3a0099 100%);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* about-hero-section curve handled by .section-curve div */

/* Organic blob shape top-right */
.about-blob {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 640px;
  height: 640px;
  background: rgba(100, 50, 200, 0.32);
  border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%;
  pointer-events: none;
  z-index: 0;
}

.about-hero-section .container {
  position: relative;
  z-index: 1;
  padding-bottom: 60px;
}

.about-text-col {
  color: #fff;
  padding-right: 30px;
}

.about-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 22px;
}

.about-body {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ---- Mission / Vision cards ---- */
.about-cards-col {
  padding-left: 30px;
}

.mv-cards-row {
  display: flex;
  gap: 20px;
}

/* Gradient border wrapper */
.mv-card-wrap {
  flex: 1;
  padding: 2px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f7a623 0%, #f83672 100%);
}

.mv-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 22px;
  height: 100%;
}

.mv-card h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a1a3e;
  margin-bottom: 16px;
}

.mv-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Wave transition to blog section */
.about-wave {
  width: 100%;
  line-height: 0;
  margin-top: 50px;
}

.about-wave svg {
  display: block;
  width: 100%;
  height: 30px;
}

/* ---- Blog section ---- */
.blog-section {
  padding: 80px 0 100px;
  background: #f0eef8;
}

.blog-illus-wrap {
  text-align: center;
  padding: 10px 20px;
}

.blog-illus-img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

.blog-text-col {
  padding-left: 50px;
}

.blog-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #2B2A70;
  margin-bottom: 18px;
}

.blog-headline {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a3e;
  line-height: 1.25;
  margin-bottom: 26px;
}

.blog-coming-soon {
  font-size: 16px;
  font-weight: 500;
  color: #888;
  font-style: italic;
  margin: 0;
}

.blog-name-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  color: #0289e7;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.blog-name-link:hover {
  color: #2B2A70;
  text-decoration: none;
}

/* =====================================================================
   Contact Us page
   ===================================================================== */

.contact-hero-section {
  padding-top: 140px;
  padding-bottom: 90px;
  background: #2B4BDD;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Organic blob shapes */
.contact-blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.contact-blob-1 {
  width: 340px;
  height: 320px;
  top: -60px;
  left: -70px;
  background: #1F38C8;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
}

.contact-blob-2 {
  width: 200px;
  height: 200px;
  top: 240px;
  left: 180px;
  background: #1A30BB;
  border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
}

.contact-blob-3 {
  width: 160px;
  height: 160px;
  bottom: 60px;
  left: 60px;
  background: #1F38C8;
  border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%;
}

/* Left: contact info */
.contact-hero-section .container {
  position: relative;
  z-index: 1;
}

.contact-info-col {
  padding-right: 30px;
}

.contact-page-title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 36px;
  line-height: 1.15;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.contact-info-item i {
  font-size: 18px;
  color: #fff;
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-info-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.contact-info-item a:hover {
  color: #fff;
}

/* Right: form card */
.contact-form-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

/* Colored top accent bar */
.contact-form-card::before {
  content: '';
  display: block;
  height: 5px;
  background: linear-gradient(to right, #2B4BDD, #f83672, #f7a623);
}

.contact-form-inner {
  padding: 38px 40px 40px;
}

.contact-form-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a3e;
  margin-bottom: 6px;
  text-align: center;
  letter-spacing: 0.2px;
}

.contact-form-subtitle {
  font-size: 14px;
  color: #888;
  text-align: center;
  margin-bottom: 28px;
}

.contact-form-divider {
  display: none;
}

/* Form fields */
.cf-group {
  position: relative;
  margin-bottom: 14px;
}

.cf-group input,
.cf-group textarea {
  width: 100%;
  background: #f4f6ff;
  border: 1.5px solid #e8eaf6;
  border-radius: 10px;
  padding: 13px 42px 13px 16px;
  font-size: 14px;
  color: #333;
  outline: none;
  font-family: inherit;
  -webkit-transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.cf-group input:focus,
.cf-group textarea:focus {
  border-color: #2B4BDD;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(43, 75, 221, 0.08);
}

.cf-group input::placeholder,
.cf-group textarea::placeholder {
  color: #b0b4cc;
  font-size: 13px;
}

.cf-group i {
  position: absolute;
  right: 15px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #b0b4cc;
  font-size: 13px;
  pointer-events: none;
}

.cf-group textarea {
  resize: none;
  min-height: 110px;
  padding-right: 16px;
}

/* Submit button */
.cf-submit-btn {
  background: #2B2A70;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  font-family: inherit;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 20px rgba(43, 42, 112, 0.3);
  -webkit-transition: background 0.2s, box-shadow 0.2s;
  transition: background 0.2s, box-shadow 0.2s;
}

.cf-submit-btn:hover {
  background: #1a1a50;
  box-shadow: 0 8px 28px rgba(43, 42, 112, 0.45);
}

/* Contact responsive */
@media (max-width: 991px) {
  .contact-hero-section {
    min-height: auto;
    padding-bottom: 70px;
  }

  .contact-info-col {
    padding-right: 0;
    margin-bottom: 36px;
    text-align: center;
  }

  .contact-info-item {
    justify-content: center;
  }

  .contact-page-title {
    font-size: 34px;
  }

  .contact-form-card {
    padding: 32px 24px;
  }
}

@media (max-width: 575px) {
  .contact-page-title {
    font-size: 28px;
  }

  .cf-group input,
  .cf-group textarea {
    font-size: 13px;
  }
}

/* ---- About page responsive ---- */
@media (max-width: 991px) {
  .about-hero-section {
    min-height: auto;
    padding-bottom: 0;
  }

  .about-text-col {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .about-cards-col {
    padding-left: 0;
  }

  .mv-cards-row {
    flex-direction: column;
  }

  .blog-text-col {
    padding-left: 0;
    margin-top: 30px;
    text-align: center;
  }

  .blog-headline {
    font-size: 28px;
  }
}

@media (max-width: 575px) {
  .blog-headline {
    font-size: 24px;
  }
}

/* ---- Compas page responsive ---- */
@media (max-width: 991px) {
  .compas-page-hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .compas-page-text {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .compas-page-title {
    font-size: 40px;
  }

  .compas-venn-col {
    margin-top: 0;
  }

  .venn-container {
    transform: scale(0.66);
    transform-origin: top center;
    margin-bottom: -110px;
  }

  .compas-what-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .compas-brand-block {
    padding-left: 0;
  }

  .story-card {
    height: auto;
  }
}

@media (max-width: 575px) {
  .compas-page-title {
    font-size: 32px;
  }

  .compas-section-title {
    font-size: 28px;
  }

  .venn-container {
    transform: scale(0.46);
    transform-origin: top center;
    margin-bottom: -170px;
  }

  .compas-bracket {
    font-size: 90px;
  }

  .compas-brand-name {
    font-size: 34px;
  }
}

/* =====================================================================
   Capabilities page — five folds
   ===================================================================== */

/* Fold base */
.cap-fold {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* ---- AI fold (dark purple) ---- */
.cap-fold-ai {
  padding-top: 140px;
  background: linear-gradient(110deg, #0e0040 0%, #2a0080 45%, #5200c8 100%);
}

.cap-fold-ai-blob {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: rgba(130, 70, 255, 0.28);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  pointer-events: none;
  z-index: 0;
}

.cap-fold-ai .container {
  position: relative;
  z-index: 1;
}

/* ---- Light folds ---- */
.cap-fold-ba   { background: #fff; }
.cap-fold-dpa  { background: #f7f8ff; }
.cap-fold-csd  { background: #fff; }
.cap-fold-iaas { background: #f7f8ff; }

/* ---- Text padding helpers ---- */
.cap-text-pr { padding-right: 50px; }
.cap-text-pl { padding-left: 50px; }

/* ---- Capability label (small uppercase tag) ---- */
.cap-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
}

.cap-label-dark {
  color: #2B2A70;
}

/* ---- Headline ---- */
.cap-headline {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 18px;
}

.cap-headline-dark {
  color: #1a1a3e;
}

/* ---- Subtext / description ---- */
.cap-subtext {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 34px;
}

.cap-subtext-dark {
  color: #555;
}

/* ---- CTA gradient pill button ---- */
.cap-cta-btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  color: #fff !important;
  background: linear-gradient(to right, #f83672 0%, #f7a623 100%);
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(248, 54, 114, 0.35);
  -webkit-transition: opacity 0.3s, box-shadow 0.3s;
  transition: opacity 0.3s, box-shadow 0.3s;
}

.cap-cta-btn:hover {
  opacity: 0.88;
  box-shadow: 0 8px 28px rgba(248, 54, 114, 0.5);
}

/* ---- AI cards (Problem / Solution) ---- */
.cap-right-col {
  padding-left: 20px;
}

.cap-ai-cards {
  display: flex;
  gap: 20px;
  height: 100%;
}

/* Gradient border wrapper */
.cap-prob-wrap {
  flex: 1;
  padding: 2px;
  border-radius: 18px;
  background: linear-gradient(to bottom, #f7a623 0%, #f83672 100%);
  min-height: 300px;
}

.cap-prob-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  height: 100%;
}

.cap-prob-card h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a1a3e;
  margin-bottom: 14px;
}

.cap-prob-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.75;
}

/* ---- Illustration wrappers ---- */
.cap-illus-wrap {
  text-align: center;
  padding: 20px;
}

.cap-illus-img {
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

/* CSD: illustration inside a light-blue box */
.cap-illus-blue {
  background: #dce8f8;
  border-radius: 18px;
  padding: 40px 30px;
}

/* ---- Capabilities page — responsive ---- */
@media (max-width: 991px) {
  .cap-fold {
    min-height: auto;
    padding: 80px 0;
  }

  .cap-fold-ai {
    padding-top: 110px;
  }

  .cap-text-pr,
  .cap-text-pl {
    padding-right: 0;
    padding-left: 0;
    margin-top: 36px;
  }

  .cap-right-col {
    padding-left: 0;
    margin-top: 36px;
  }

  .cap-ai-cards {
    flex-direction: column;
  }

  .cap-prob-wrap {
    min-height: auto;
  }

  .cap-headline {
    font-size: 28px;
  }

  /* Image before text on mobile for text-right sections */
  .cap-fold-ba .row,
  .cap-fold-csd .row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .cap-headline {
    font-size: 24px;
  }

  .cap-illus-img {
    max-height: 260px;
  }

  .cap-illus-blue {
    padding: 24px 20px;
  }
}
