/* General styles */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f8f9fa;
  color: #212529;
  line-height: 1.6;
}

::selection {
color: white; /* Text color */
background: #063EC0; /* Background color */
}

/* p::selection, ul::selection{
  color: white; 
  background: #FDB515; 
} */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

section {
  padding: 60px 0;
}

/* Hero section */
.hero-gradient,
.navbar-hero,
.hero-section,
.hero-image-only-section {
  background: linear-gradient(to right, #2F75FF, #063EC0);
  /* background-color: #2F75FF; */
  color: white;
}

.hero-gradient {
  padding: 50px 0;
}

.hero-gradient .btn {
  font-weight: 600;
  border-radius: 30px;
}

.hero-section {
  min-height: 70vh;
}

.hero-image-only-section {
  min-height: 60vh;
}

/* Navbar */

.navbar {
  font-weight: 600;
  font-size: 0.95rem;
  background-color: #FAFAFA;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(to right, #2F75FF, #063EC0);
  border-image-slice: 1;
}

.navbar-nav .nav-link {
  margin-left: 15px;
  color: black;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #2F75FF !important;
}

/* Cards */
.card, .card-style, .vision-card, .challenge-card, .apart-card {
  background-color: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  padding: 25px;
  transition: transform 0.3s ease;
}

.card-style {
  padding: 30px;
  margin-top: 10px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.04);
}

.vision-card {
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.05);
}

.card:hover,
.vision-card:hover,
.challenge-card:hover,
.apart-card:hover {
  transform: translateY(-5px);
}

/* Card icons */
.card-icon {
  font-size: 2rem;
  color: #2F75FF;
  margin-bottom: 10px;
}

/* CTA section */
.cta-section {
  background-color: #fff;
  padding: 5%;
  margin-top: 40px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
  background-color: #001b5e;
  color: white;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Buttons */
.btn-outline-primary {
  border-color: #2F75FF;
  color: #2F75FF;
}

.btn-outline-primary:hover {
  background-color: #2F75FF;
  color: #fff;
}

.btn-primary {
  background-color: #2F75FF;
  border-color: #2F75FF;
}

.btn-primary:hover {
  background-color: #063EC0;
  border-color: #063EC0;
}

/* Carousel customization */
.carousel-inner .card {
  max-width: 850px;
  margin: 0 auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #2F75FF;
  border-radius: 50%;
  padding: 10px;
}

/* Accordion */
.accordion-button {
  font-weight: 600;
  font-size: 1.1rem;
  background-color: #f1f5ff;
  color: #063EC0;
}

.accordion-button:not(.collapsed) {
  background-color: #2F75FF;
  color: #fff;
}

.accordion-body {
  background-color: #fff;
  border-left: 4px solid #2F75FF;
  padding: 1.5rem;
  border-radius: 0 0 12px 12px;
}

/* Section Divider */
.section-divider {
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #2F75FF, #063EC0);
  margin: 10px 0 10px 0;
  border-radius: 2px;
}

/* Callout & Highlights */
.callout {
  /* background-color: #f1f5ff; */
  background: linear-gradient(to right, #2F75FF, #063EC0);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-weight: 500;
}

.callout-subhead{
  font-size: 1.25rem;
}

.solution-highlight {
  background-color: #f1f5ff;
  border-left: 5px solid #2F75FF;
  border-radius: 12px;
  padding: 40px;
  max-width: 850px;
  margin: 60px auto 0;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.03);
}

.solution-highlight h4 {
  font-weight: 700;
  color: #063EC0;
}

.solution-highlight p.lead {
  font-size: 1.15rem;
  line-height: 1.7;
}

/* Images */
.hero-logo {
  max-width: 500px;
  width: 80%;
  height: auto;
  display: block;
  margin: 2% auto 0;
}

.about-image {
  max-height: fit-content;
  object-fit: cover;
}

.challenge-img{
  max-height: 300px;
  object-fit: cover;
  /* border-radius: 50%; */
  /* filter: saturate(0); */
}

.services-img{
  max-height: 400px;
  object-fit: cover;
  /* filter: saturate(0); */
}

.contact-img{
  max-height: 300px;
  object-fit: cover;
  border-radius: 50%;
  /* filter: saturate(0); */
}

.leadership-img{
  max-height: 350px;
  border-radius: 50%;
  object-fit: cover;
  border-radius: 0;
  /* filter: saturate(0); */
}

.about-img {
  max-width: 90%;
  height: auto;
}

.hero-illustration,
.hero-illustration-only {
  /* width: 100%; */
  height: auto;
  opacity: 0.95;
  transition: transform 0.3s ease;
}

.hero-illustration {
  max-width: 350px;
}

.hero-illustration-only {
  max-width: 200px;
  opacity: 0.97;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
}

.hero-illustration-only:hover {
  transform: scale(1.02);
}

.service-title{
  font-size: 1.15rem;
}

.service-card{
 padding-top: 8%
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .hero-illustration {
    max-width: 0;
    margin-bottom: 2%;
  }

  .hero-section {
    min-height: 0;
  }

  .hero-illustration-only {
    max-width: 370px;
  }
}

/* Principle section */
.principles-illustration {
  position: relative;
}

.principle-img {
  max-width: 180px;
  width: 100%;
  margin: 0 auto;
  opacity: 0.93;
  transform: translateY(-10px);
  transition: transform 0.3s ease;
}

.principle-img:hover {
  transform: translateY(-5px) scale(1.05);
}

.principle-hero-img {
  max-width: 100%;
  width: 340px;
  height: auto;
}

.principle-card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.principle-icon path {
  fill: var(--bs-primary);
}

/* Icons */
.icon-circle {
  width: 50px;
  height: 50px;
  font-size: 1.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* SVGs */
.problem-svg,
.apart-svg {
  max-width: 250px;
  height: auto;
}

/* Badges */
.challenge-badge {
  display: inline-block;
  background-color: #0d6efd;
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-weight: 600;
  line-height: 36px;
  text-align: center;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.hero-image-only-section {
  background: linear-gradient(to right, #2F75FF, #063EC0);
  min-height: 0vh;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-image-only-section h1 {
  font-size: 2.5rem;
}

.hero-image-only-section p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.hero-illustration-only {
  max-width: 300px;
  /* width: 100%; */
  height: auto;
  opacity: 0.97;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.hero-illustration-only:hover {
  transform: scale(1.03);
}

@media (max-width: 576px) {
  .hero-image-only-section h1 {
    font-size: 1.85rem;
  }
  .hero-illustration-only {
    max-width: 200px;
  }
}


/* Clickable header styling */
.clickable-header {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  border-bottom: 1px solid #eee;
}

.clickable-header:hover {
  background-color: #f9f9f9;
}

/* Chevron toggle rotation */
.toggle-icon {
  transition: transform 0.3s ease;
}

/* Rotate chevron when open */
.card .collapse.show + .card-body .toggle-icon,
.card .collapse.show ~ .toggle-icon {
  transform: rotate(180deg);
}

/* For dynamic chevron rotation using JavaScript (fallback for ~ selector) */
.collapsing,
.collapse.show {
  transition: height 0.3s ease;
}

.card-img-top{
  padding: 3%;
  max-width: 40%;
}

.migration-card{
  max-width: 34%;
}

.continuity-card{
  padding: 0;
  max-width: 27.5%;
}

/* Hero Carousel Custom Styles */
#heroCarousel {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero-carousel-slide {
  position: relative;       /* establish a positioning context */
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel-slide::before {
  content: "";
  position: absolute;
  inset: 0;                 /* shorthand for top:0; right:0; bottom:0; left:0; */
   background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.55) 35%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0.1) 100%
  );
  pointer-events: none;     /* captions/buttons remain clickable */
  z-index: 1;
}

.hero-carousel-slide .hero-content {
  position: relative;
  z-index: 2;
}



.carousel-caption {
  background-color: rgba(0, 0, 0, 0.45);
  padding: 2rem;
  border-radius: 12px;
  color: white;
  text-align: center;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.carousel-caption h1,
.carousel-caption p {
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  /* Shrink the slide height a bit so captions don’t run off */
  #heroCarousel .hero-carousel-slide {
    height: 80vh;
  }

  /* Tighter caption container */
  #heroCarousel .carousel-caption {
    bottom: 15%;
    padding: 0.75rem 1rem;
    max-width: 90%;
    background: rgba(0, 0, 0, 0.35); /* optional semi-transparent bg for readability */
    border-radius: 0.5rem;
  }

  /* Smaller headings & lead text */
  #heroCarousel .carousel-caption h1 {
    font-size: 1.5rem !important;
    line-height: 1.2;
  }
  #heroCarousel .carousel-caption p.lead {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  /* Tweak buttons */
  #heroCarousel .carousel-caption .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;           /* hidden by default */
  z-index: 999;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 1;          /* center the icon */
  padding: 0;              /* removes extra inside space */
  transition: opacity 0.3s ease;
}

.scroll-to-top i {
  font-size: 1.5rem;
  line-height: 50px;       /* vertically center icon */
}

.scroll-to-top.show {
  display: block;
  opacity: 1;
}

/* Consistent Card Image Styling */
/* move this into your styles.css in place of the old .card img rule */
.card:not(.leader-card) img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
}


/* Unified Section Illustration Style */
.about-image,
/* .leadership-img, */
.leadership-principles-img,
.challenge-img,
.services-img,
.contact-img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.hero-carousel-slide::before {
  background: rgba(0, 0, 0, 0.45); /* subtle dark overlay */
}

/* Industries Section */

.horizontal-accordion {
  display: flex;
  height: 300px;
  overflow: hidden;
  gap: 10px;
}

.accordion-panel {
  position: relative;
  flex: 1;
  transition: flex 0.4s ease-in-out;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
}

/* Accordian Animation */
/* .accordion-panel:hover {
  flex: 3;
} */

.accordion-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  transition: background 0.3s;
}

.panel-content {
  position: relative;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  padding: 1rem;
}

.panel-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

/* Backgrounds */
/* Specific Backgrounds */
.oil-gas {
  background-image: url('assets/stock/oil&gas4.jpg');
}

.cpg-retail {
  background-image: url('assets/stock/cpg-new.jpg');
}

.manufacturing {
  background-image: url('assets/stock/manufacturing.jpg');
}

/* Responsive */
@media (max-width: 768px) {
  .horizontal-accordion {
    flex-direction: column;
    height: auto;
  }

  .accordion-panel {
    flex: none;
    height: 200px;
  }

  .accordion-panel:hover {
    flex: none;
  }
}

/* Resources Section */
.resource-module {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-module:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
}

.resource-header {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.resource-module .card-body {
  padding: 1.5rem;
}

.resource-module h5 {
  font-size: 1.25rem;
}

.resource-module i {
  opacity: 0.85;
}

.card-bio {
  z-index: 10;
  max-height: 300px;
  overflow-y: auto;
}

/* ---- Leadership Team Styles ---- */
.leader-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.leader-name {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.leader-role {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.leader-bio-button {
  background-color: #ffffff;
  border: 2px solid #063ec0;
  color: #063ec0;
  font-weight: 600;
  border-radius: 50px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.leader-bio-button:hover {
  background-color: #063ec0;
  color: #ffffff;
}

.leader-bio {
  font-size: 0.95rem;
  color: #495057;
  line-height: 1.5;
}

.leader-card .leader-img {
  width: 70%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid;
  border-color: #2F75FF;
}

/* Modal image container */
.modal .leader-img-wrapper {
  width: 150px;
  margin: 0 auto 1rem;       /* center + space below */
  overflow: hidden;           /* crop overflow */
  border-radius: 50%;         /* ensure circle */
  border: 3px solid #f1f1f1;  /* light border */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Modal image itself */
.modal .leader-img-wrapper .leader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* fill & crop */
  display: block;
}

/* Center the name/role under the image */
.modal .leader-name,
.modal .leader-role {
  text-align: center;
}

/* apply to all modals: ~60% of viewport */
.modal-dialog {
  width: 80%;
  max-width: 80%;
}

/* on narrow screens, use 90% width and center */
@media (max-width: 768px) {
  .modal-dialog {
    width: 90%;
    max-width: 90%;
    margin: 1rem auto;  /* horiz‐centers; vertical centering still handled by .modal-dialog-centered */
  }
}
.opening-card {
  cursor: pointer;
  transition: all 0.3s ease;
}

.opening-card:hover {
  transform: translateY(-5px);
}

.opening-details {
  margin-top: 10px;
  border-top: 1px solid #eee;
  padding-top: 10px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.dashboard-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,0,0,0.04);
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.dashboard-card h6 {
  font-size: 0.95rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dashboard-card h2 {
  font-weight: 700;
  color: #063EC0;
}

/* Why Transformation Strategy Matters - icon accordion */
#transformationIconAccordion .t-panel {
  appearance: none;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 .25rem .75rem rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
  text-align: left;
}

/* Desktop: panels sit in a row and expand */
@media (min-width: 992px) {
  #transformationIconAccordion .t-panel {
    width: auto;
    flex: 1 1 0;
    min-height: 160px;
  }
  #transformationIconAccordion .t-panel.active {
    flex: 2.2 1 0;
  }
}

#transformationIconAccordion .t-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,110,253,0.10); /* Bootstrap primary tint */
  color: var(--bs-primary);
  flex: 0 0 auto;
}

#transformationIconAccordion .t-icon i {
  font-size: 1.8rem;
  line-height: 1;
}

#transformationIconAccordion .t-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
}

#transformationIconAccordion .t-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.10);
}

#transformationIconAccordion .t-panel.active {
  border-color: rgba(13,110,253,0.35);
  background: rgba(13,110,253,0.03);
}

#transformationIconAccordion .t-panel:hover {
  border-color: rgba(13,110,253,0.45);
}

/* Hover open dropdown (desktop only) */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}


/* Blog cards: remove global card padding so image cap is flush */
.blog-card {
  padding: 0 !important;              /* overrides .card padding */
  overflow: hidden;                    /* keeps corners clean */
}

/* Blog card body can keep padding */
.blog-card .card-body {
  padding: 1.5rem;                     /* pick what looks best */
}

/* Undo the global .card-img-top rule ONLY for blog cards */
.blog-card .card-img-top {
  max-width: 100% !important;
  padding: 0 !important;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;                    /* Bootstrap card cap look */
}

/* Prevent the generic ".card img" rule from rounding blog cover images */
.blog-card img {
  border-radius: 0 !important;
}
.blog-pill {
  display: inline-flex;
  width: auto !important;
  max-width: fit-content;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Shared blog card base */
.blog-card {
  padding: 0;
  overflow: hidden;
}

/* Image cards */
.blog-card.has-image .card-img-top {
  height: 200px;
  object-fit: cover;
}

/* No-image header */
.blog-card.no-image .blog-card-fallback {
  height: 200px;                  /* matches image height */
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    #1366ff 0%,
    #0b4edb 100%
  );
}

/* Center pill nicely in fallback header */
.blog-card.no-image .blog-pill {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Card body spacing consistency */
.blog-card .card-body {
  padding: 1.5rem;
}

/* ===========================
   Blog Hero (SAP-style split)
   =========================== */

.blog-hero.card {
  padding: 0 !important;
  border-radius: 12px;
  overflow: hidden;
  border: 0;
}

.blog-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #0b1b3a; /* fallback */
}

/* Image behaves like a background */
.blog-hero .blog-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  border-radius: 0 !important;
  transform: scale(1.01);
}

/* subtle tint so image isn’t too loud */
.blog-hero.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  z-index: 1;
}

/* Left trapezoid panel overlay */
.blog-hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;     /* center vertically like SAP */
  align-items: flex-start;
  padding: 56px 70px 56px 64px;

  width: min(900px, 70%);
  --blog-wedge: 200px;

  background: rgba(255, 255, 255, 0.88);

  /* SAP trapezoid */
  clip-path: polygon(
    0 0,
    100% 0,
    calc(100% - var(--wedge)) 100%,
    0 100%
  );
}

/* Light “technical” wash (optional, subtle) */
.blog-hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.70) 0%,
    rgba(255,255,255,0.35) 65%,
    rgba(255,255,255,0.15) 100%
  );
  opacity: 0.55;
  pointer-events: none;
}

/* Ensure text sits above the wash */
.blog-hero-overlay > * {
  position: relative;
  z-index: 2;
}

/* Typography inside hero (make sure you remove text-white in markup) */
.blog-hero-overlay h1 {
  color: #0b1b3a;
  margin: 0 0 10px 0;
}

.blog-hero-date {
  color: rgba(11, 27, 58, 0.75);
  font-weight: 600;
}

/* No-image fallback still looks like the same hero */
.blog-hero.no-image {
  background: linear-gradient(135deg, #1366ff 0%, #0b4edb 100%);
}

.blog-hero.no-image .blog-hero-overlay {
  background: rgba(255, 255, 255, 0.90);
}

/* Responsive: remove trapezoid and go full-width */
@media (max-width: 992px) {
  .blog-hero {
    min-height: 320px;
  }

  .blog-hero-overlay {
    min-height: 320px;
    width: 100%;
    padding: 34px 26px;
    --blog-wedge: 0px;
    clip-path: none;
    justify-content: flex-end; /* mobile: title lower reads better */
  }
}

/* ===========================
   Enterprise Split Hero (Reusable)
   =========================== */

.ew-hero {
  /* Layout + defaults */
  --hero-min-h: 520px;
  --panel-w: 720px;

  /* Wedge control (edit per section via inline style if desired) */
  --wedge: 220px;       /* width of diagonal extension */
  --wedge-slope: 78%;   /* diagonal tilt: higher = steeper */

  /* Spacing */
  --panel-pad-y: 64px;
  --panel-pad-x: 56px;

  /* Colors */
  --accent: #0b3a6e;
  --text: #white;
  --muted: #white;

  /* Media */
  --hero-image: none;

  position: relative;
  min-height: var(--hero-min-h);
  overflow: hidden;
  background: #fff;
}

/* Right-side image layer */
.ew-hero__media {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  transform: scale(1.01);
}

/* Subtle black tint over hero image */
.ew-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* adjust 0.22–0.32 */
  pointer-events: none;
}

/* content container above image */
.ew-hero__container {
  position: relative;
  z-index: 2;
  min-height: var(--hero-min-h);
  display: flex;
  align-items: center;
}

/* Left white panel */
.ew-hero__panel {
  position: relative;
  width: 100%;
  max-width: var(--panel-w);
  background: rgba(0, 0, 0, 0.03); /* ← opacity here */
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0);
  border-left: 4px solid var(--accent);

  color: white;

  padding:
    var(--panel-pad-y)
    calc(var(--panel-pad-x) + var(--wedge) * 0.45)
    var(--panel-pad-y)
    var(--panel-pad-x);
  /* NEW: smooth diagonal edge all the way through */



}

/* IMPORTANT: disable the old triangle wedge */
.ew-hero__panel::after {
  display: none;
}

/* Typography (inherits site font-family) */
.ew-hero__eyebrow {
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--text);
  margin-bottom: 18px;
}

.ew-hero__title {
  color: var(--text);
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.55rem);
  line-height: 1.12;
  margin: 0 0 14px 0;
}

.ew-hero__text {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 22px 0;
  max-width: 50ch; /* avoids long lines + awkward wraps */
}

/* Actions */
.ew-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ew-hero__btn {
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
}

/* Keep hero buttons aligned to accent without changing global Bootstrap theme */
.ew-hero .btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
}

.ew-hero .btn-outline-primary {
  color: var(--accent);
  border-color: var(--accent);
}

/* Responsive: remove wedge on smaller screens */
@media (max-width: 992px) {
  .ew-hero {
    --hero-min-h: 560px;
    --panel-w: 92%;
    --panel-pad-y: 42px;
    --panel-pad-x: 28px;
    --wedge: 0px; /* removes reserved space */
  }

  .ew-hero__panel::after {
    display: none;
  }

  .ew-hero__media {
    background-position: center;
  }
}
/* ===========================
   Compact Hero Variant
   =========================== */

.ew-hero--compact {
  --hero-min-h: 420px;
  --panel-pad-y: 44px;
}

@media (max-width: 992px) {
  .ew-hero--compact {
    --hero-min-h: 360px;
    --panel-pad-y: 32px;
  }
}

/* ===========================
   Enterprise Page System (Reusable)
   Works for Events / Blog / Newsroom / Careers listings
   Prefix: ew-
   =========================== */

.ew-page {
  background: #fff;
}

/* Section spacing + backgrounds */
.ew-section {
  padding: 64px 0;
}

.ew-section--light {
  background: #fff;
}

.ew-section--tint {
  background: #f6f8fc; /* enterprise soft tint */
}

/* Section header pattern */
/* Section header: centered on mobile, left on lg+ (global) */
.ew-section__header{
  max-width: 920px;
  margin: 0 auto 26px auto;
  text-align: center;
}

@media (min-width: 992px){
  .ew-section__header{
    text-align: left;
    margin-left: 0;     /* snap to container left */
    margin-right: auto; /* keep width constraint */
  }
}


.ew-kicker {
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: #0b1b3a;
  margin-bottom: 12px;
}

.ew-h2 {
  font-weight: 800;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  line-height: 1.2;
  margin: 0 0 10px 0;
  color: #0b1b3a;
}

.ew-h3 {
  font-weight: 800;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  line-height: 1.25;
  margin: 0 0 8px 0;
  color: #0b1b3a;
}

.ew-subtitle {
  color: #3b4a63;
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 70ch;
}

.ew-subtitle--tight {
  max-width: 58ch;
}

/* Surface container (white card on tinted section) */
.ew-surface {
  background: #fff;
  border: 1px solid rgba(11, 27, 58, 0.08);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

/* Grid wrapper (styles listings consistently) */
.ew-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

/* Each item spans 4 cols (3 across) on large screens */
.ew-grid__item {
  grid-column: span 4;
}

/* Responsive */
@media (max-width: 992px) {
  .ew-section { padding: 52px 0; }
  .ew-surface { padding: 16px; }
  .ew-grid__item { grid-column: span 6; } /* 2 across */
}

@media (max-width: 576px) {
  .ew-grid__item { grid-column: span 12; } /* 1 across */
}

/* Optional tabs bar (reusable for blog categories/newsroom filters) */
.ew-tabs-bar {
  padding-top: 18px;
  padding-bottom: 0;
}

.ew-tabs {
  display: inline-flex;
  gap: 10px;
  padding: 10px;
  background: #f2f5fb;
  border: 1px solid rgba(11, 27, 58, 0.08);
  border-radius: 999px;
}

.ew-tab {
  text-decoration: none;
  font-weight: 700;
  color: #0b1b3a;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(11, 27, 58, 0.10);
}

.ew-tab--muted {
  background: transparent;
  border-color: transparent;
  color: #3b4a63;
}

/* Buttons scoped for enterprise pages (uses your hero accent pattern) */
.ew-btn {
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
}

/* Empty state */
.ew-empty {
  padding: 30px 18px;
  text-align: center;
  border-radius: 12px;
  background: #fbfcff;
  border: 1px dashed rgba(11, 27, 58, 0.18);
}

.ew-empty__title {
  font-weight: 800;
  color: #0b1b3a;
  margin-bottom: 6px;
}

.ew-empty__text {
  color: #3b4a63;
  margin-bottom: 14px;
}

.ew-empty__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* CTA block */
.ew-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  border: 1px solid rgba(11, 27, 58, 0.10);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.ew-cta__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Make CTA stack on small screens */
@media (max-width: 768px) {
  .ew-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =====================================================
   Gentle styling for whatever partial/item-card outputs
   (no partial changes required)
   ===================================================== */

/* If item-card produces a bootstrap .card, polish it */
.ew-surface .card {
  border-radius: 14px;
  border: 1px solid rgba(11, 27, 58, 0.10);
  box-shadow: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ew-surface .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.08);
}

/* Normalize card titles/text inside surface */
.ew-surface .card .card-title {
  color: #0b1b3a;
  font-weight: 800;
}

.ew-surface .card .card-text,
.ew-surface .card p {
  color: #3b4a63;
}

/* ===== Tabs: enterprise segmented control ===== */
.ew-tabs-bar {
  padding-top: 22px;
  padding-bottom: 10px;
  text-align: left;
}

.ew-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #f2f5fb;
  border: 1px solid rgba(11, 27, 58, 0.10);
}

.ew-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: #3b4a63;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}

.ew-tab.is-active {
  background: #ffffff;
  color: #0b1b3a;
  border-color: rgba(11, 27, 58, 0.12);
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.ew-tab:focus-visible {
  outline: 3px solid rgba(47, 117, 255, 0.35);
  outline-offset: 2px;
}

/* Panels hidden by tabs */
[data-ew-tabpanel].is-hidden {
  display: none;
}

/* =========================
   Services: Plan / Build / Run (Enterprise)
   ========================= */

.ew-services .ew-services__intro{
  color: #3b4a63;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 72ch;
}

.ew-phase-card{
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(11, 27, 58, 0.08);
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}

/* top accent strip (subtle, enterprise) */
.ew-phase-card::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(to right, #2F75FF, #063EC0);
  opacity: 0.95;
}

.ew-phase-card__top{
  padding-top: 6px;
}

.ew-phase-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(47,117,255,0.08);
  border: 1px solid rgba(47,117,255,0.18);
  margin-bottom: 14px;
}

.ew-phase-badge__num{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(to right, #2F75FF, #063EC0);
}

.ew-phase-badge__label{
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #0b1b3a;
}

.ew-phase-title{
  font-weight: 800;
  color: #0b1b3a;
}

.ew-phase-subtitle{
  color: #3b4a63;
  margin-top: 2px;
}

/* Accordion styling scoped to services */
.ew-accordion .ew-acc-item{
  border: none;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

.ew-accordion .ew-acc-btn{
  font-weight: 800;
  color: #063EC0;
  background: #f1f5ff;
  border-radius: 12px;
}

.ew-accordion .accordion-button:not(.collapsed){
  background: linear-gradient(to right, #2F75FF, #063EC0);
  color: #fff;
}

.ew-accordion .ew-acc-title{
  display: inline-block;
  line-height: 1.25;
  padding-right: 10px;
}

.ew-accordion .ew-acc-body{
  background: #fff;
  border-left: 4px solid #2F75FF;
  border-radius: 0 0 12px 12px;
}

.ew-acc-lead{
  color: #3b4a63;
  font-weight: 600;
}

.ew-minihead{
  font-weight: 800;
  color: #0b1b3a;
  font-size: 0.95rem;
  margin: 0.25rem 0 0.5rem;
  text-transform: none;
}

.ew-phase-cta .btn{
  font-weight: 700;
}

/* Make all 3 phase cards equal visual weight */
.ew-phase-grid .col-lg-4{
  display: flex;
}
.ew-phase-grid .col-lg-4 > .card{
  width: 100%;
}

/* Small screens: keep it clean */
@media (max-width: 576px){
  .ew-phase-card{
    padding: 18px;
  }
}

/* Footer base */
.footer-gradient{
  background: linear-gradient(180deg, #071a38 0%, #041126 100%);
}

.footer-title{
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links li{
  margin: 12px 0;
}

.footer-links a,
.footer-link-strong{
  color: rgba(255,255,255,0.82);
  text-decoration: none;
}

.footer-links a:hover,
.footer-link-strong:hover{
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-muted{
  color: rgba(255,255,255,0.70);
}

.footer-divider{
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* Simple enterprise locations */
.footer-location__head{
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}

.footer-location__sub{
  margin-top: 6px;
  color: rgba(255,255,255,0.70);
}

/* LinkedIn circle like reference */
.footer-social{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #041126;
  text-decoration: none;
}

.footer-social i{
  font-size: 1.25rem;
}

/* Credibility strip (enterprise graphic) */
.cred-strip{
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  padding: 22px 26px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(47,117,255,0.08), rgba(11,58,110,0.03));
  border: 1px solid rgba(11,27,58,0.10);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.cred-item{
  display: flex;
  gap: 14px;
  padding: 18px 16px;
  min-height: 130px;
}

.cred-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(47,117,255,0.12);
  color: #063EC0; /* matches your hero accent family */
  flex: 0 0 auto;
}

.cred-icon i{ font-size: 1.25rem; }

.cred-kicker{
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(11,27,58,0.70);
  margin-bottom: 6px;
}

.cred-title{
  font-weight: 800;
  font-size: 1.15rem;
  color: #0b1b3a;
  line-height: 1.15;
  margin-bottom: 6px;
}

.cred-sub{
  color: rgba(59,74,99,0.95);
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 44ch;
}

.cred-divider{
  width: 1px;
  background: rgba(11,27,58,0.12);
  margin: 10px 0;
}

/* Responsive: stack nicely */
@media (max-width: 992px){
  .cred-strip{
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .cred-divider{ display: none; }
  .cred-item{ padding: 16px 14px; }
}

/* ===========================
   Landing cohesion (below credibility)
   =========================== */

.ew-section{
  padding: 70px 0;
}

.ew-section--light{
  background: #fff;
}

.ew-section--tint{
  background: #f6f8fb;
}

.ew-section__header{
  max-width: 920px;
  margin: 0 auto 26px auto;
  text-align: center;
}

@media (min-width: 992px){
  .ew-section__header{
    text-align: left;
    margin-bottom: 28px;
  }
}

/* Kicker label used across sections */
.ew-kicker{
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(11,27,58,0.85);
  margin-bottom: 10px;
}

/* Media + content split block */
.ew-split {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  align-items: stretch; /* was start */
}


@media (max-width: 992px){
  .ew-split{
    grid-template-columns: 1fr;
  }
}

.ew-media{
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(11,27,58,0.10);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

/* Neutral “enterprise surface” */
.ew-surface{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(11,27,58,0.10);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.05);
  margin-top: 3px;
}

.ew-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #063EC0;
  background: rgba(47,117,255,0.10);
  border: 1px solid rgba(47,117,255,0.18);
}

/* Link card behavior */
.ew-linkcard{
  text-decoration: none;
  color: inherit;
  display: block;
}

.ew-linkcard:hover{
  text-decoration: none;
}

/* Excerpt rhythm */
.ew-excerpt{
  line-height: 1.55;
}

/* CTA blocks */
.ew-cta{
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid rgba(11,27,58,0.10);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.ew-cta__right{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 992px){
  .ew-cta{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Final CTA */
.ew-final{
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(11,27,58,0.10);
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(90deg, rgba(6,62,192,0.06), rgba(47,117,255,0.04));
}

.ew-final__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 992px){
  .ew-final{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Section headers: centered on mobile, left on lg+ */
#challenges .ew-section__header,
#trusted-by .ew-section__header,
#partners .ew-section__header,
#difference .ew-section__header,
#upcoming-events-section .ew-section__header,
#upcoming-events-section .ew-subtitle,
#past-events-section .ew-section__header,
#past-events-section .ew-subtitle,
#about .ew-section__header,
#services .ew-section__header,
#industries .ew-section__header{
 max-width: 920px;
  margin: 0 auto 26px auto;  /* centers the block on mobile */
  text-align: center; 
}

.ew-section__header{
max-width: 920px;
  margin: 0 auto 26px auto;  /* centers the block on mobile */
  text-align: center; 
}
/* Left align on large screens */
@media (min-width: 992px){
  #challenges .ew-section__header,
  #trusted-by .ew-section__header,
  #partners .ew-section__header,
  #services .ew-section__header,
  #difference .ew-section__header,
  #upcoming-events-section .ew-section__header,
  #upcoming-events-section .ew-subtitle,
  #past-events-section .ew-section__header,
  #past-events-section .ew-subtitle,
  #about .ew-section__header,
  #industries .ew-section__header{
    text-align: left;
    margin-left: 0;          /* snap to container left */
    margin-right: auto;
  }
  .ew-section__header{
    text-align: left;
    margin-left: 0;          /* snap to container left */
    margin-right: auto;
  }
}

/* Make Insights cards uniform */
#insights .blog-card .card-body{
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Title: lock to 2 lines */
#insights .blog-card h5{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(2 * 1.25em); /* reserves space even if short */
}

/* Excerpt: lock to 3 lines */
#insights .blog-card .ew-excerpt{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: calc(3 * 1.55em);
}

/* Tile container */
.ew-cred .cred-tile{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 220px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.10);
}

/* Image behaves like background */
.ew-cred .cred-tile__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark tint */
.ew-cred .cred-tile__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

/* Content layer */
/* Content layer — centered */
.ew-cred .cred-tile__content{
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 24px;

  display: flex;
  flex-direction: column;       /* stack icon + text */
  align-items: center;          /* horizontal centering */
  justify-content: center;      /* vertical centering */

  gap: 14px;
  text-align: center;           /* center text */
}

/* Text on image */
.ew-cred .cred-kicker{
  color: rgba(255,255,255,0.8);
}
.ew-cred .cred-title{
  color: #fff;
}
.ew-cred .cred-sub{
  color: rgba(255,255,255,0.9);
}

/* Responsive height */
@media (max-width: 992px){
  .ew-cred .cred-tile{
    min-height: 200px;
  }
}

/* =========================================
   Services: 3 image cards -> single + details
   Matches the reference screenshot
   ========================================= */

.ew-svcShowcase{
  margin-top: 18px;
}

/* 3-card gallery */
.ew-svcGallery{
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr; /* big left + two smaller */
  gap: 22px;
  align-items: stretch;
}

@media (max-width: 992px){
  .ew-svcGallery{
    grid-template-columns: 1fr;
  }
}

/* Card */
.ew-svcCard{
  position: relative;
  border: 0;
  padding: 0;
  width: 100%;
  text-align: left;
  border-radius: 0;                 /* screenshot feel */
  overflow: hidden;
  min-height: 420px;                /* adjust if you want */
  background: #0b1b3a;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
  transition: transform .18s ease, box-shadow .18s ease;
}

.ew-svcCard:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.14);
}

.ew-svcCard__img{
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: saturate(0.95);
  transform: scale(1.01);
}

/* subtle bottom blue like reference (optional) */
.ew-svcCard__shade{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.65) 0%,
      rgba(0,0,0,0.45) 45%,
      rgba(6,62,192,0.18) 75%,
      rgba(0,0,0,0.22) 100%
    );
  pointer-events: none;
}


/* Bottom white label plate */
.ew-svcCard__plate{
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 10%;
  /* background: rgba(255,255,255,0.92); */
  border: 1px solid rgba(11,27,58,0.10);
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
  padding: 18px 18px 16px 18px;
}

.ew-svcCard__kicker{
  display: block;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: white;
  margin-bottom: 6px;
}

.ew-svcCard__title{
  display: block;
  font-weight: 900;
  font-size: 1.35rem;
  line-height: 1.15;
  color: white;
}

.ew-svcCard__cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-weight: 800;
  color: white;
}

/* Selected view: one card + details */
.ew-svcSelected{
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 8px;
}

@media (max-width: 992px){
  .ew-svcSelected{
    grid-template-columns: 1fr;
  }
}

.ew-svcSelected__left .ew-svcCard{
  min-height: 520px;
}

.ew-svcSelected__right{
  display: flex;
}

.ew-svcDetail{
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(11,27,58,0.10);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
  padding: 20px;
}

.ew-svcDetail__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(11,27,58,0.08);
  margin-bottom: 14px;
}

.ew-svcBack{
  border: 1px solid rgba(11,27,58,0.14);
  background: #2F75FF;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  color: #FFF;
  cursor: pointer;
}

.ew-svcBack:hover{
  border-color: rgba(47,117,255,0.40);
}

.ew-svcDetail__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.ew-svcBlock{
  border: 1px solid rgba(11,27,58,0.10);
  border-radius: 14px;
  background: #f6f8fc;
  padding: 14px;
}

.ew-svcBlock__title{
  font-weight: 900;
  color: #0b1b3a;
  margin-bottom: 10px;
}

.ew-svcBlock__list{
  margin: 0;
  padding-left: 18px;
  color: #3b4a63;
}

.ew-svcBlock__list li{
  margin: 7px 0;
}

.ew-svcDetail__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* Utilities */
.is-hidden{ display: none !important; }


/* Equal-size service cards */
.ew-svcCard{
  position: relative;
  width: 100%;
  min-height: 520px;     /* 🔑 SAME HEIGHT */
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #0b1b3a 0%, #063EC0 100%);
  box-shadow: 0 18px 36px rgba(0,0,0,0.12);
  display: flex;
  align-items: stretch;
}

/* Services card row */
.ew-svcGallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px){
  .ew-svcGallery{
    grid-template-columns: 1fr;
  }

  .ew-svcCard{
    min-height: 340px;
  }

  .ew-svcCard__plate{
    left: 8%;
    right: 8%;
    bottom: 8%;
  }
}

/* Services details: stack blocks on mobile */
@media (max-width: 768px){
  .ew-svcDetail__grid{
    grid-template-columns: 1fr !important;
  }
}

.is-hidden { display: none !important; }

/* Make the panel not “take a grid slot” — let the blocks be the grid items */
.ew-svcPanel { display: contents; }

.ew-svcDetail{
  background: #f6f8fc; /* soft enterprise tint */
}

.ew-svcBlock{
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}


.ew-svcDetail__grid{
  display: block;   /* carousel should be full width */
  margin-top: 14px;
}

/* Services carousel wrapper */
.ew-svcCarousel{
  position: relative;
}

/* Give room so arrows don't overlap content */
.ew-svcCarousel .carousel-inner{
  padding: 0 46px;
}

/* Make controls not huge and keep them aligned */
.ew-svcCarousel .carousel-control-prev,
.ew-svcCarousel .carousel-control-next{
  width: 42px;
  opacity: 1;
}

.ew-svcCarousel .carousel-control-prev-icon,
.ew-svcCarousel .carousel-control-next-icon{
  filter: none; /* uses your existing blue background icons */
}

/* Indicators near bottom, subtle */
.ew-svcIndicators{
  position: static;
  margin-top: 12px;
  justify-content: center;
  gap: 8px;
}
.ew-svcIndicators [data-bs-target]{
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

/* Make the selected-right area full width for carousel */
.ew-svcDetail__grid{
  display: block;
  margin-top: 14px;
}

/* Carousel spacing so arrows don't overlap card content */
.ew-svcCarousel .carousel-inner{
  padding: 0 46px;
}

/* Ensure each slide stretches */
.ew-svcCarousel .carousel-item{
  height: 100%;
}

/* 🔑 Equal-height cards (only inside the services carousel) */
.ew-svcCarousel .ew-svcBlock{
  height: 250px;                 /* same height for all */
  display: flex;
  flex-direction: column;
  margin-left: 5%;   
  margin-right: 5%;           /* remove default spacing */
}



/* Mobile tuning */
@media (max-width: 768px){
  .ew-svcCarousel .ew-svcBlock{
    height: auto;                /* allow natural height on small screens */
    min-height: 320px;           /* still consistent */
  }
}

/* =========================================
   Services Carousel – Indicator Overrides
   (Scoped: does NOT affect other carousels)
   ========================================= */

/* Move indicators BELOW the card */
.ew-svcCarousel .carousel-indicators {
  position: static;                 /* remove absolute positioning */
  margin-top: 18px;                 /* space below card */
  justify-content: center;
}

/* Darker inactive dots */
.ew-svcCarousel .carousel-indicators [data-bs-target] {
  background-color: rgba(11, 27, 58, 0.35); /* dark slate */
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 1;                        /* override Bootstrap fade */
  transition: background-color 0.2s ease;
}

/* Active dot – BluWis blue */
.ew-svcCarousel .carousel-indicators .active {
  background-color: #2F75FF;
}

/* Optional: hover affordance */
.ew-svcCarousel .carousel-indicators [data-bs-target]:hover {
  background-color: rgba(11, 27, 58, 0.6);
}

/* =========================
   Trusted By (logos)
   ========================= */
.ew-trusted__row{
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
}

@media (min-width: 992px){
  .ew-trusted__row{
    justify-content: space-between; /* enterprise look on desktop */
  }
}

/* Make logos consistent, subtle, and enterprise */
.ew-trusted__logo{
  height: 34px;
  width: auto;
  max-width: 160px;
  opacity: 0.82;
  /* filter: grayscale(20%); */
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
  background: none; /* ensures no unwanted background */
}


.ew-trusted__logo:hover{
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-1px);
}

#partners .ew-trusted__row{
  justify-content: center;
  gap: 105px;
}

/* Mobile: slightly smaller */
@media (max-width: 576px){
  .ew-trusted__logo{
    height: 28px;
    max-width: 140px;
  }

  #partners .ew-trusted__row{
  justify-content: center;
  gap: 25px;
}
}

#partners .ew-trusted__logo{
   filter: grayscale(0%);
}

/* =========================
   Partners Logo Ticker
   ========================= */
#partners .ew-ticker{
  /* speed control: lower = faster */
  --ticker-speed: 28s;

  /* spacing between logos */
  --ticker-gap: 70px;
}

#partners .ew-ticker__viewport{
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  padding: 8px 0;
}

/* subtle fade edges (enterprise touch) */
#partners .ew-ticker__viewport::before,
#partners .ew-ticker__viewport::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 2;
  pointer-events: none;
}
#partners .ew-ticker__viewport::before{
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}
#partners .ew-ticker__viewport::after{
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}

/* Track moves left forever */
#partners .ew-ticker__track{
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ew-logo-ticker var(--ticker-speed) linear infinite;
}

/* Each set is one “loop length” */
#partners .ew-ticker__set{
  display: inline-flex;
  align-items: center;
  gap: var(--ticker-gap);
  padding: 6px 0;
}

/* Pause on hover (nice UX) */
#partners .ew-ticker:hover .ew-ticker__track{
  animation-play-state: paused;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  #partners .ew-ticker__track{
    animation: none;
  }
  #partners .ew-ticker__viewport{
    overflow-x: auto;
  }
  #partners .ew-ticker__set{
    padding: 10px 10px;
  }
}

@keyframes ew-logo-ticker{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* because we duplicated the set */
}

/* Optional: tighten on mobile */
@media (max-width: 576px){
  #partners .ew-ticker{
    --ticker-speed: 22s;
    --ticker-gap: 26px;
  }
  #partners .ew-ticker__viewport::before,
  #partners .ew-ticker__viewport::after{
    width: 36px;
  }
}

/* Partners ticker */
#partnersTicker{
  --ticker-speed: 28s;
  --slot-pad: 44px;           /* spacing between logos */
  --loop-distance: 0px;       /* JS will set this */
}

#partnersTicker .ew-ticker__viewport{
  overflow: hidden;
  position: relative;
  border-radius: inherit;
  padding: 10px 0;
}

#partnersTicker .ew-ticker__track{
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0,0,0);
  animation: partners-ticker var(--ticker-speed) linear infinite;
}

#partnersTicker .ew-ticker__set{
  display: inline-flex;
  align-items: center;
  gap: 0; /* spacing handled by items */
}

#partnersTicker .ew-ticker__item{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--slot-pad);
  white-space: nowrap;
}

/* Seamless loop uses the measured width of the first set */
@keyframes partners-ticker{
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(calc(-1 * var(--loop-distance)), 0, 0); }
}

/* Mobile spacing */
@media (max-width: 576px){
  #partnersTicker{ --ticker-speed: 22s; --slot-pad: 18px; }
}

/* Scoped: leadership preview carousel only */
.ew-leaderCarousel .carousel-inner{
  padding: 0 52px; /* room for arrows */
}

.ew-leaderCarousel .carousel-control-prev,
.ew-leaderCarousel .carousel-control-next{
  width: 44px;
  opacity: 1;
}

.ew-leaderCarousel .carousel-control-prev-icon,
.ew-leaderCarousel .carousel-control-next-icon{
  background-color: rgba(11,27,58,0.85);
  border-radius: 999px;
  padding: 12px;
  background-size: 55% 55%;
}

.ew-leaderCarousel .carousel-indicators{
  position: static;
  margin-top: 14px;
  justify-content: center;
  gap: 8px;
}

.ew-leaderCarousel .carousel-indicators [data-bs-target]{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: rgba(11,27,58,0.35);
  opacity: 1;
}

.ew-leaderCarousel .carousel-indicators .active{
  background-color: #2F75FF;
}

/* =========================
   Trusted By ticker
   ========================= */
#trusted-by #trustedByTicker{
  --ticker-speed: 26s;
  --slot-pad: 46px;        /* spacing between logos */
  --loop-distance: 0px;    /* JS sets this */
}

#trusted-by #trustedByTicker .ew-ticker__viewport{
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  padding: 10px 0;
}

/* edge fades (matches partners style) */
#trusted-by #trustedByTicker .ew-ticker__viewport::before,
#trusted-by #trustedByTicker .ew-ticker__viewport::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width:70px;
  z-index:2;
  pointer-events:none;
}
#trusted-by #trustedByTicker .ew-ticker__viewport::before{
  left:0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}
#trusted-by #trustedByTicker .ew-ticker__viewport::after{
  right:0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}

/* Track */
#trusted-by #trustedByTicker .ew-ticker__track{
  display:flex;
  width:max-content;
  will-change: transform;
  transform: translate3d(0,0,0);
  animation: trustedby-ticker var(--ticker-speed) linear infinite;
}

/* Set */
#trusted-by #trustedByTicker .ew-ticker__set{
  display:inline-flex;
  align-items:center;
  gap: 0; /* spacing is from item padding */
}

/* Slot spacing ensures consistent gaps (no “logo touching”) */
#trusted-by #trustedByTicker .ew-ticker__item{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 0 var(--slot-pad);
  white-space: nowrap;
}

/* Pause on hover */
#trusted-by #trustedByTicker:hover .ew-ticker__track{
  animation-play-state: paused;
}

/* Seamless loop distance is measured (no end whitespace) */
@keyframes trustedby-ticker{
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(calc(-1 * var(--loop-distance)), 0, 0); }
}

/* Mobile tuning */
@media (max-width: 576px){
  #trusted-by #trustedByTicker{
    --ticker-speed: 20s;
    --slot-pad: 20px;
  }
  #trusted-by #trustedByTicker .ew-ticker__viewport::before,
  #trusted-by #trustedByTicker .ew-ticker__viewport::after{
    width: 36px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  #trusted-by #trustedByTicker .ew-ticker__track{ animation: none !important; }
  #trusted-by #trustedByTicker .ew-ticker__viewport{ overflow-x:auto; }
}

/* Prevent logo compression in tickers */
.ew-ticker__item{
  flex: 0 0 auto;      /* ⛔ no shrinking */
}

/* Logo sizing rules */
.ew-ticker__item img,
.ew-trusted__logo{
  height: 36px;        /* control height */
  width: auto;         /* preserve aspect ratio */
  max-width: 180px;    /* cap very wide logos */
  object-fit: contain; /* never crop or distort */
  flex-shrink: 0;      /* 🔑 CRITICAL */
}

/* Base transition */
.navbar-autohide {
  transition: transform 0.35s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

/* Hidden state */
.navbar-autohide.hide {
  transform: translateY(-100%);
}
