/* =========================================================
   Global styles: loaded on every page.
   Base typography, shared components, navigation and footer.
   Page-specific rules live in styles/pages/<page>.css.
   ========================================================= */

/* ===== CSS VARIABLES ===== */
:root {
  --bs-body-font-family: "Poppins", sans-serif;
  --orange: #ff8f00;
  --blue: #00205c;
  --light-orange: #ff8f0033;
  --light-blue-grad: linear-gradient(
    135deg,
    rgba(92, 125, 184, 0.1),
    rgba(92, 125, 184, 0.01)
  );
  --side-left: clamp(80px, 10vw, 100px);
  --page-margin: 88px;
  --mobile-page-margin: 20px;
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

@media (max-width: 1599px) and (min-width: 992px) {
  :root {
    --page-margin: 40px !important;
  }
}

@media (max-width: 991px) {
  :root {
    --page-margin: 20px;
  }
}

@media (min-width: 1750px) {
  :root {
    --side-left: clamp(80px, 10vw, 128px);
    --page-margin: 140px;
  }
}

/* ===== BASIC ELEMENT STYLES ===== */
header {
  overflow: visible;
}

html,
body {
  overflow-x: hidden;
}

* {
  font-family: "Poppins", sans-serif !important;
}

body {
  font-family: "Poppins", sans-serif !important;
  overflow-x: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  line-height: 1.6;
  color: #333;
}

/* ===== TYPOGRAPHY ===== */
h1,
.brand-wordmark {
  font-weight: 900;
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2,
h1:where(.page-headline) {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h3,
h1:where(.home-headline) {
  font-weight: 400;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  color: var(--blue);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* ===== TEXT UTILITIES ===== */
.text-white {
  color: white !important;
  opacity: 1 !important;
}

.text-blue {
  color: var(--blue);
}

.text-orange {
  color: var(--orange);
}

/* ===== BUTTON STYLES ===== */
.btn {
  font-family: "Poppins", sans-serif !important;
  font-weight: 900;
  border: none;
  max-width: fit-content;
  padding: 8px;
  margin-left: 0px !important;
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

/* Keep button contents (and hover effects) inside the rounded corners */
.btn-primary,
.btn,
.card-btn,
.org-read-btn,
.org-toggle,
.deployment-btn {
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #ff8f00, #ffaa33);
  box-shadow: var(--shadow-light);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffaa33, #ff8f00);
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.btn:focus,
.btn:active,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--light-orange) !important;
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 3px rgba(255, 143, 0, 0.3) !important;
  outline: none !important;
}

/* ===== BACKGROUND COLORS ===== */
.bg-primary {
  background-color: var(--blue) !important;
}

.bg-blue {
  background-color: var(--blue);
}

.bg-orange {
  background-color: rgba(255, 143, 0, 0.2);
}

/* ===== BORDER COLORS ===== */
.border-primary {
  border-color: var(--orange) !important;
}

/* ===== LAYOUT UTILITIES ===== */
.content-wrapper {
  margin-left: var(--page-margin);
  margin-right: var(--page-margin);
  width: calc(100% - 2 * var(--page-margin));
}

.center-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.start-content {
  margin-left: 0;
  margin-top: 100px !important;
  padding-bottom: 20px !important;
}

.start {
  margin-top: 40px !important;
  padding-bottom: 20px !important;
}

.testimonial-margin {
  padding-top: 100px;
}

@media (max-width: 991px) {
  .content-wrapper {
    margin-left: var(--mobile-page-margin) !important;
    margin-right: var(--mobile-page-margin) !important;
    width: calc(100% - 2 * var(--mobile-page-margin)) !important;
  }

  .start {
    margin-top: 40px !important;
    padding-bottom: 20px !important;
  }

  .start-content {
    margin-top: 100px !important;
    padding-bottom: 20px !important;
  }
}

.mainshadow-nav::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 20px;
  pointer-events: none;
  z-index: 500;
  background: transparent;
  box-shadow: 0 -10px 50px 30px rgba(0, 0, 0, 0.6);
}

.mainshadow-nav {
  min-height: auto;
}

.mainshadow-nav::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -60px;
  width: 100%;
  height: 60px;
  background: linear-gradient(
    to bottom,
    rgba(0, 32, 92, 0.25),
    rgba(0, 32, 92, 0)
  );
  pointer-events: none;
}

/* ===== LOGO STYLES ===== */
.logo {
  font-family: "Poppins", sans-serif;
  color: white;
}

.logo-orange {
  color: var(--orange);
}

.logo-blue {
  color: var(--blue);
}

.logo-white {
  color: white;
}

.transparent-logo {
  padding-top: 75px !important;
  margin: 0px !important;
  font-size: 2.5rem;
  opacity: 0.4;
}

.trademark {
  font-size: 1em;
  position: relative;
  top: -4px;
}

/* ===== BUTTON UTILITIES ===== */
.first-btn {
  width: fit-content;
  margin-left: 0px;
  font-size: 1.3rem;
}

/* ===== CAROUSEL STYLES ===== */
.carousel-row > div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-row img {
  width: auto;
  height: 100px !important;
  padding: 6px;
  justify-content: baseline;
}

.img-fluid {
  height: 80px !important;
  width: auto;
}

.carousel-wrapper {
  max-width: 1250px;
  margin: 30px 0px;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.carousel-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
}

.carousel-scroll::-webkit-scrollbar {
  display: none;
}

.carousel-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-row {
  display: flex;
  flex-wrap: nowrap;
}

.carousel-row > div {
  flex: 0 0 20% !important;
  max-width: 20% !important;
  scroll-snap-align: start;
}

.carousel-wrapper {
  background: white;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 25%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgb(255, 255, 255), transparent);
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgb(255, 255, 255), transparent);
}

.carousel-indicators {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: var(--light-orange);
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px !important;
}

.carousel-indicators button.active {
  background-color: var(--orange);
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
  border: none;
  color: var(--blue);
  font-size: 2rem;
  cursor: pointer;
}

.carousel-control-prev {
  left: -60px;
}

.carousel-control-next {
  right: -60px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(48%) sepia(96%) saturate(749%) hue-rotate(358deg)
    brightness(95%) contrast(92%);
}

/* ===== ACCORDION STYLES ===== */
.accordion-button::after {
  margin-right: 30px;
}

/* Orange-outlined panels: the rounded corners, white background and orange border
   around each opened answer come from here (removed in the clean-up; restored).
   The glass styles below then override the background, padding and shadow. */
.accordion-item {
  border: none;
  margin-bottom: 15px;
}

.accordion-button {
  background-color: white;
  border: 2px solid var(--orange);
  border-radius: var(--border-radius);
  padding: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  font-size: clamp(1rem, 1.3vw, 1.3rem);
}

.accordion-button:not(.collapsed) {
  background: transparent;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.accordion-collapse {
  border: none;
  background-color: white;
}

.accordion-body {
  background-color: white;
  border: 2px solid var(--orange);
  border-top: none;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  padding: 15px;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
}

.accordion-item {
  background: var(--light-blue-grad);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.accordion-button {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 18px 18px 18px 60px;
  position: relative;
  font-weight: 600;
  color: #222;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.accordion-body {
  padding: 16px 18px 20px 18px;
  background: rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== GRADIENT OVERLAYS ===== */
.content-gradient {
  position: relative;
  overflow: visible;
}

.content-gradient::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -750px;
  transform: translateY(-50%);
  width: 2000px;
  height: 1900px;
  background-image: radial-gradient(
    circle,
    rgba(255, 143, 0, 0.2) 0%,
    rgba(255, 143, 0, 0.2) 6%,
    rgba(255, 143, 0, 0.18) 8%,
    rgba(255, 143, 0, 0.14) 10%,
    rgba(255, 143, 0, 0.14) 14%,
    rgba(255, 143, 0, 0.11) 17%,
    rgba(255, 143, 0, 0.09) 20%,
    rgba(255, 143, 0, 0.09) 24%,
    rgba(255, 143, 0, 0.07) 27%,
    rgba(255, 143, 0, 0.06) 30%,
    rgba(255, 143, 0, 0.06) 35%,
    rgba(255, 143, 0, 0.05) 40%,
    rgba(255, 143, 0, 0.04) 45%,
    rgba(255, 143, 0, 0.04) 48%,
    rgba(255, 143, 0, 0.03) 55%,
    rgba(255, 143, 0, 0.02) 60%,
    rgba(255, 143, 0, 0.02) 62%,
    rgba(255, 255, 255, 0.4) 68%,
    rgba(255, 255, 255, 0.6) 72%,
    rgba(255, 255, 255, 0.6) 75%,
    rgba(255, 255, 255, 0.8) 82%,
    rgba(255, 255, 255, 1) 87%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
  z-index: -1;
}

.header-grad {
  background: linear-gradient(
    135deg,
    rgba(92, 125, 184, 0.1),
    rgba(92, 125, 184, 0.01)
  );
}

@media (max-width: 991px) {
  /* ===== RESPONSIVE MEDIA QUERIES ===== */
  body {
    overflow-x: hidden;
  }

  .content-gradient::before {
    display: none;
  }

  .pt-5 {
    padding-top: 2rem !important;
  }

  .mobile-mb1 {
    margin-bottom: 1rem !important;
  }

  .orange-back {
    padding: 10px !important;
  }

  .bottom-card {
    margin-left: 0 !important;
    margin-top: 0px !important;
  }

  .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .team-carousel h6 {
    font-size: 0.75rem;
  }

  .mainshadow-nav::before {
    height: 1px;
  }

  iframe {
    width: 300px;
    height: 200px;
  }

  .mobile-center {
    text-align: center !important;
  }

  .carousel-row > div {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .video-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .carousel-wrapper {
    max-width: 100%;
  }

  .start {
    padding-bottom: 10px;
  }

  .mobile-nav-button {
    font-size: 1.2rem;
    padding: 7px 30px 7px 30px;
  }

  .mobile-mt0 {
    margin-top: 0 !important;
  }

  .mobile-mb0 {
    margin-bottom: 0 !important;
  }

  .mobile-mt1 {
    margin-top: 1rem !important;
  }

  #header-placeholder nav,
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1100;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
}

@media (min-width: 1600px) {
  .video-container iframe,
  .video-container video {
    width: 105%;
    max-width: 110%;
    height: 390px;
  }

  .ad-form {
    padding-top: 90px;
  }

  .team-carousel-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 1500px;
    margin: auto;
    padding: 20px 0;
  }
}

@media (max-width: 1599px) and (min-width: 992px) {
  .team-carousel-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 1310px;
    margin: auto;
    padding: 20px 0;
  }

  .team-carousel {
    display: flex;
    gap: 7.5rem !important;
    overflow-x: auto;
    padding-top: 10px;
    padding-left: 7px;
  }

  .col-12.col-lg-6:last-child {
    position: relative;
  }
}

@media (min-width: 1750px) {
  .navbar-brand img {
    max-height: 30px;
    width: auto;
    margin-left: 140px;
  }
}

/* ===== PIPEDRIVE FORMS ===== */
.pipedriveWebForms,
.pipedriveWebForms form {
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
}

.pipedriveWebForms {
  margin: 0 !important;
  overflow: hidden !important;
}

.pipedriveWebForms iframe {
  overflow: hidden !important;
}

.card-box h2 {
  margin-left: 0 !important;
}

.bottom-card {
  border-radius: var(--border-radius);
  background-color: rgba(255, 143, 0, 0.2);
  margin-left: 30px;
  padding: 20px;
  padding-top: 20px;
  transform: scale(0.8);
  max-height: 90vh;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.bottom-card:hover {
  box-shadow: var(--shadow-medium);
}

.testimonial {
  color: var(--orange);
  font-weight: 400;
  font-size: 1.75rem;
  margin-left: 90px;
  margin-right: 90px;
}

.orange-back {
  padding-left: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

.custom-gap {
  gap: 9rem;
}

#spec-title1,
#spec-title2,
#spec-title3 {
  text-align: left !important;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
  padding-bottom: 0px;
}

.org-tab {
  background: none;
  border: none;
  padding: 0;
  color: var(--blue);
  font-weight: 500;
  position: relative;
  cursor: pointer;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
}

/* underline (hidden by default) */
.org-tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background-color: var(--orange);
  transition: width 0.3s ease;
}

/* hover */
.org-tab:hover::after {
  width: 100%;
}

/* active */
.org-tab.active::after {
  width: 100%;
}

.org-tab.active {
  font-weight: 600;
}

/* ================= CASE STUDY CARDS ================= */
.org-card {
  display: flex;
  border: 2px solid var(--orange);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 20px;
  background: white;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.org-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* image (left side) */
.org-card-img {
  width: 30%;
  object-fit: cover;
  padding: 12px;
  background: white;
}

.org-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  overflow: hidden;
}

/* content (right side) */
.org-card-content {
  width: 70%;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* spacing inside */
.org-card-content h5 {
  margin-bottom: 10px;
}

.org-card-content p {
  margin-bottom: 8px;
}

/* ================= READ BUTTON ================= */
.org-read-btn {
  margin-top: auto;
  align-self: flex-start;
  background: none;
  border: 2px solid var(--orange);
  color: var(--orange);
  padding: 6px 14px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.org-read-btn:hover {
  background: var(--blue);
  color: white;
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

/* ================= SEE MORE BUTTON ================= */
.org-toggle {
  background: white;
  border: 2px solid var(--orange);
  color: var(--orange);
  padding: 3px 15px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.org-toggle:hover {
  background: var(--light-orange);
  color: white;
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
  border-color: #ff8f00;
}

/* ================= MODAL ================= */
.modal-content {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.modal-header {
  background-color: var(--blue);
  color: white;
  border-bottom: none;
}

.modal-header .btn-close {
  filter: invert(1);
}

.modal-body {
  padding: 20px;
  border: 2px solid var(--orange);
}

@media (max-width: 768px) {
  /* ================= RESPONSIVE ================= */
  .org-card {
    flex-direction: column;
  }

  .org-card-img {
    width: 100%;
    height: 200px;
  }

  .org-card-content {
    width: 100%;
  }

  .custom-gap {
    gap: 1.5rem !important;
  }

  .foot-logo img {
    max-height: 90px !important;
  }
}

/* BUTTON STYLE */
.tab {
  flex: 1;
  text-align: center;
  padding: 15px;
  background: white;
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

.tab:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.FAQ-button {
  font-size: 1.15rem;
}

.tab h3 {
  margin: 0;
  font-weight: 600;
}

.tab p {
  margin: 5px 0 0;
  font-size: 1em;
}

/* ACTIVE TAB */
.tab.active {
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  background: #fff7e6;
}

/* CONTENT BOX */
.content {
  display: none;
  border: 2px solid var(--orange);
  padding: 20px 20px 0 20px;
  margin: 0 20px;
  margin-top: -2px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

/* ACTIVE CONTENT */
.content.active {
  display: block;
  border-radius: 0 0 10px 10px;
}

.tab,
.content {
  overflow: visible;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.description {
  font-size: 14px;
  color: var(--blue);
}

@media (max-width: 991px) {
  /*About Us Media Query for Mobile */
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 0 !important;
  }

  .number {
    font-size: 1.5rem;
  }

  .description {
    font-size: 0.7rem;
  }
}

/* TIMELINE CONTAINER */
.horizontal-timeline .items {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
  position: relative;
  cursor: grab;
  scrollbar-width: none;
  user-select: none;
}

.horizontal-timeline .items:active {
  cursor: grabbing;
}

.horizontal-timeline .items::-webkit-scrollbar {
  display: none;
}

.horizontal-timeline .items::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  height: 3px;
  width: 100%;
  padding-right: var(--page-margin);
  border-top: 3px solid #e9ecef;
}

.event-date {
  font-size: 1rem;
  padding: 8px;
}

@media (min-width: 1140px) {
  .horizontal-timeline .items {
    overflow: visible;
    justify-content: space-between;
    cursor: default;
  }
}

@media (max-width: 1120px) {
  .horizontal-timeline .items::before {
    width: calc(25% * 6 - 10%);
  }
}

.read-bio-btn {
  margin-top: 10px;
}

.team-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.team-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-top: 10px;
}

.team-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: white;
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

.carousel-arrow:hover {
  opacity: 1;
  box-shadow: var(--shadow-medium);
  transform: translateY(-50%) scale(1.1);
}

#bioModalLinks img {
  width: 100px;
  height: 100px;
  margin: 0 8px;
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

#bioModalLinks img:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-medium);
}

/* Card */
.news-card {
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

.news-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-body {
  padding: 20px;
}

.news-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.news-summary {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* ================= LAYOUT ================= */
#card-buttons {
  position: sticky;
  top: 120px;
  height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}

#card-buttons::-webkit-scrollbar {
  display: none;
}

/* ================= BUTTONS ================= */
.card-btn {
  background: #fff;
  border: 2px solid var(--orange);
  padding: 16px;
  text-align: left;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

.card-btn {
  opacity: 0.4;
  transform: scale(0.98);
}

.card-btn {
  width: 100%;
  box-sizing: border-box;
}

.card-btn.active {
  opacity: 1;
  transform: scale(1);
}

/* hover */
.card-btn:hover {
  background: #fff7e6;
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

/* spacing between buttons */
.card-btn + .card-btn {
  margin-top: 10px;
}

/* hover */
.card-btn:hover {
  background: #fff7e6;
}

/* ACTIVE BUTTON (attached look) */
.card-btn.active {
  z-index: 2;
  background: #fff;
  font-weight: 600;
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background: #fff7e6;
}

/* creates the "attached" illusion */
.card-btn.active::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 0;
  height: 100%;
  width: 4px;
  background: #fff;
}

.scroll-section {
  position: relative;
}

/* ================= TOP DIVIDER ================= */
.card-divider {
  height: 2px;
  background: #eee;
  margin: 15px 0;
}

/* Target the Pipedrive chat widget */
#pd-chat-widget {
  bottom: 20px;
  right: auto;
  left: 20px;
}

/* CARD STYLE */
.approach-card {
  border: 3px solid var(--orange);
  border-radius: var(--border-radius);
  padding: 25px 25px 20px;
  background: #fff;
  height: 100%;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.approach-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
}

/* HEADINGS + TEXT ALL H3 */
.approach-card h3,
.approach-card li {
  line-height: 1.5;
  color: var(--blue);
  font-weight: 600;
}

/* LIST RESET */
.approach-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* LIST ITEMS */
.approach-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-weight: 400;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
}

/* BLUE BULLETS */
.approach-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--blue);
}

@media (max-width: 768px) {
  /* MOBILE POLISH */
  .approach-card h3,
  .approach-card li {
    font-size: 1.05rem;
  }

  .mobile-sidemargin {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.me-6 {
  margin-right: 5rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-2px);
}

.orange-dot {
  width: 20px;
  height: 20px;
  background-color: var(--orange);
  border-radius: 50%;
  margin-bottom: 12px;
  transition: var(--transition);
}

.feature-item:hover .orange-dot {
  transform: scale(1.2);
}

/* optional spacing + nicer scale */
.feature-item h3 {
  font-size: 1.2rem;
  max-width: 280px;
}

@media (max-width: 767px) {
  /* mobile stacking polish */
  .feature-item h3 {
    font-size: 1.1rem;
  }
}

/* Subtle background highlight on important text */
.text-blue,
h3,
h1:where(.home-headline) {
  position: relative;
}

/* Animated underline for links */
a {
  position: relative;
  text-decoration: none;
}

a:hover::after {
  width: 100%;
}

/* ===== ICON ANIMATIONS ===== */
/* Dot/bullet animation */
.orange-dot,
.feature-item .orange-dot {
  box-shadow: 0 0 0 rgba(255, 143, 0, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 143, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 143, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 143, 0, 0);
  }
}

/* ===== CAROUSEL POLISH ===== */
.carousel-indicators button {
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.carousel-indicators button:hover {
  transform: scale(1.3);
}

.carousel-indicators button.active {
  box-shadow: 0 0 12px rgba(255, 143, 0, 0.5);
  transform: scale(1.15);
}

/* ===== MODAL ENHANCEMENTS ===== */
.modal-content {
  border: 2px solid var(--orange);
  box-shadow: 0 10px 40px rgba(0, 32, 92, 0.15);
}

.modal-header {
  background: linear-gradient(135deg, var(--blue), #001741);
  border-bottom: 3px solid var(--orange);
}

/* ===== SCROLL ANIMATIONS ===== */
/* Elements fade in on scroll */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Keep card contents inside the rounded corners */
.card-box,
.approach-card,
.news-card,
.org-card {
  position: relative;
  overflow: hidden;
}

.card-box,
.approach-card,
.news-card {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial::before {
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: var(--orange);
  opacity: 0.3;
}

.modal {
  z-index: 9999;
}

.navbar {
  z-index: 1000;
}

h2::after {
  width: 40px;
}

.card-box,
.approach-card {
  animation: none;
}

.carousel-indicators button:hover {
  transform: scale(1.2);
}

/* EACH CARD */
.org-card {
  flex: 0 0 85%;
  scroll-snap-align: start;
  min-width: 280px;
}

/* EACH BUTTON */
#category-buttons .org-tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  white-space: nowrap;
}

@media (max-width: 575px) {
  .start {
    margin-bottom: 10px;
  }

  .btn-primary:hover::before {
    display: none;
  }

  /* ===== LOADING STATE (FOR FORMS/BUTTONS) ===== */
  @keyframes shimmer {
    0% {
      background-position: -1000px 0;
    }
    100% {
      background-position: 1000px 0;
    }
  }

  .btn.loading {
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
  }

  /* ===== CAROUSEL ABOVE GRADIENT ===== */
  .carousel-wrapper {
    position: relative;
    z-index: 1;
  }

  /* CARDS */
  .feature-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
  }

  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  }

  #orgScrollThumb {
    will-change: transform;
  }
}

.foot-logo img {
  max-height: 170px;
}

.cyber-logo {
  height: 130px;
  width: 130px;
}

.glass-card {
  width: 230px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 40px rgba(0, 32, 92, 0.15);
}

.reqDemo {
  color: var(--orange);
  border: 2px solid var(--orange);
}

.reqDemo:hover {
  color: white;
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
  border-color: #ff8f00;
}

.section {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  text-align: center;
}

h2,
h1:where(.page-headline) {
  font-weight: 700;
  letter-spacing: 1px;
}

.subtitle {
  color: #f26522;
  margin-bottom: 40px;
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.number {
  background: #f26522;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Center circles */
.center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.circle {
  width: 180px;
  height: 180px;
  border: 12px solid #f26522;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: #f26522;
}

@media (max-width: 900px) {
  /* Responsive */
  .container {
    flex-direction: column;
  }
}

.section {
  max-width: 1300px;
  margin: auto;
  padding: 80px 20px;
}

.title {
  text-align: center;
  margin-bottom: 60px;
}

.title h2 {
  font-size: 32px;
  margin: 0;
}

.title span {
  color: var(--orange);
  font-weight: bold;
}

/* Number bubbles */
.number {
  min-width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8f00, #ffaa33);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(242, 101, 34, 0.3);
}

/* Center visual */
.center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* Fancy circle */
.icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: var(--orange);
}

/* subtle connector dots */
.dot {
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  margin-left: 25px;
  opacity: 0.6;
}

@media (max-width: 900px) {
  .center {
    order: -1;
  }
}

.text-blue {
  color: var(--blue) !important;
}

.column:first-child .number {
  position: relative;
}

.column:first-child .number::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -80px;
  width: 80px;
  height: 2px;
  background: var(--orange);
  transform: translateY(-50%);
}

.video-col {
  min-height: 400px;
}

.header-image {
  position: absolute;
  right: 0;
  width: auto;
  height: 95%;
  z-index: 0;
  opacity: 0.35;
}

/* make normal text slightly transparent */
.start-content h2,
.start-content h3,
.start-content h1:where(.page-headline),
.start-content h1:where(.home-headline) {
  color: rgba(255, 255, 255, 0.85);
}

.blue-back {
  background: linear-gradient(
    135deg,
    rgba(92, 125, 184, 0.1),
    rgba(92, 125, 184, 0.01)
  );
}

.blue-back-card {
  background: linear-gradient(
    135deg,
    rgba(92, 125, 184, 0.1),
    rgba(92, 125, 184, 0.01)
  );
  padding: 30px;
  border-radius: var(--border-radius);
}

.step {
  padding: 18px 0;
  opacity: 0.35;
  transition: 0.3s;
}

.step.active {
  opacity: 1;
  font-weight: 700;
}

/* horizontal line */
.line {
  width: 100%;
  height: 2px;
  background: #ff8f00;
  opacity: 0.25;
}

/* icon styling */
.step-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0.3;
  transition: all 0.4s ease;
  z-index: 5;
}

/* active icon pops into centre line */
.item.active .step-icon {
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 1;
}

@media (max-width: 991px) {
  .timeline-section {
    display: none;
  }

  .video-col {
    display: none;
  }

  .org-toggle {
    font-size: 1rem;
  }
}

.carousel-scroll {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  scroll-behavior: auto;
}

.carousel-scroll.dragging {
  cursor: grabbing;
}

.carousel-scroll img {
  pointer-events: none;
}

.blue-back {
  position: relative;
  overflow: visible;
}

/* make sure row allows overflow layering */
.content-wrapper {
  overflow: visible;
}

.content-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
}

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

/* Each item */
.logo-item {
  flex: 0 0 auto;
}

/* Card style */
.logo-card {
  width: 160px;
  height: 100px;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(92, 125, 184, 0.1),
    rgba(92, 125, 184, 0.01)
  );
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo image */
.logo-card img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
}

.carousel-scroll {
  padding: 20px 0;
}

.aboutheader-image {
  width: 150%;
  height: 450px;
  object-fit: cover;
  display: block;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 1) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 1) 100%
  );
  position: relative;
  left: -130px;
  z-index: 1;
}

.dark-blue-back-card {
  background-color: var(--blue);
  padding: 30px;
  border-radius: var(--border-radius);
}

/* =========================
   VIDEO MODAL BASE
   ========================= */
#videoModal .modal-content {
  border: none !important;
  overflow: hidden;
  background: #000;
  position: relative;
}

/* remove default padding */
#videoModal .modal-body {
  padding: 0;
}

/* =========================
   CUSTOM ORANGE CLOSE BUTTON
   ========================= */
#videoModal .btn-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  opacity: 1;
}

.modal-body {
  border: none;
}

/* replace bootstrap icon with orange X */
#videoModal .btn-close::before {
  content: "×";
  font-size: 32px;
  font-weight: 700;
  color: #ff6a00;
  line-height: 40px;
}

/* hover effect */
#videoModal .btn-close:hover::before {
  color: #ff6a00;
  transform: scale(1.1);
  transition: 0.2s ease;
}

/* =========================
   MODAL SIZE (DESKTOP)
   ========================= */
.custom-video-modal {
  max-width: 70vw;
  width: 70vw;
  border: none !important;
}

@media (max-width: 992px) {
  /* =========================
     MOBILE FIX
     ========================= */
  .custom-video-modal {
    max-width: 95vw;
    width: 95vw;
    margin: 0 auto;
  }

  #videoModal .btn-close {
    top: 8px;
    right: 8px;
    width: 35px;
    height: 35px;
  }

  #videoModal .btn-close::before {
    font-size: 28px;
  }
}

.watch-button {
  font-size: 1.1rem;
}

.divider-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.divider-heading::before,
.divider-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(13, 27, 61, 0.2);
}

/* TEXT */
.divider-heading h3 {
  margin: 0;
  white-space: nowrap;
  color: var(--blue);
  font-weight: 600;
}

/*CTA CARD*/
.cta-card-left {
  flex: 1.5;
}

.cta-split-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-left-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.cta-card-icon {
  width: 100px;
  height: auto;
  object-fit: contain;
}

.cta-card-divider {
  width: 1px;
  align-self: stretch;
  background: var(--blue);
}

/* RIGHT */
.cta-card-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

/* BUTTON */
.cta-card-btn {
  padding: 10px 125px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease;
  margin-left: 0;
  font-size: 1.35rem;
}

@media (max-width: 768px) {
  /* MOBILE */
  .cta-split-card-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  .cta-card-left,
  .cta-card-right {
    flex: unset;
    width: 100%;
  }

  .cta-left-header {
    justify-content: center;
    flex-direction: column;
    gap: 12px;
  }

  .cta-card-icon {
    width: 90px;
  }

  .cta-card-divider {
    width: 100%;
    height: 1px;
    align-self: auto;
  }

  .cta-card-right {
    align-items: center;
    gap: 18px;
  }

  .cta-card-btn {
    width: 100%;
    max-width: 320px;
    padding: 14px 20px;
    font-size: 1rem;
    margin: 0 auto;
  }
}

@media (max-width: 1599px) and (min-width: 992px) {
  /*Tablet and Laptop*/
  .start {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
  }
}

/* MAIN BANNER */
.cky-consent-container {
  font-family: "Poppins", sans-serif !important;
}

/* POPUP BOX */
.cky-notice {
  background: var(--blue) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
  padding: 24px !important;
}

/* TEXT */
.cky-title {
  color: white !important;
  font-size: 24px !important;
  font-weight: 700 !important;
}

.cky-notice-des p,
.cky-notice-des {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

/* ACCEPT BUTTON */
.cky-btn-accept {
  background: #ff6b00 !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
}

/* REJECT BUTTON */
.cky-btn-reject {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  border-radius: 12px !important;
}

/* SETTINGS BUTTON */
.cky-btn-customize {
  background: rgb(239, 242, 248) !important;
  color: var(--blue) !important;
  border-radius: var(--border-radius) !important;
}

/* TOGGLE SWITCHES */
.cky-switch input:checked + .cky-slider {
  background-color: var(--orange) !important;
}

.cky-notice-content-wrapper {
  border-radius: var(--border-radius) !important;
}

.cky-consent-bar .cky-notice-content-wrapper {
  background-color: var(--blue) !important;
}

.cky-btn-revisit {
  background: var(--blue);
}

/* =========================================================
   Mobile and tablet rules
   Restored from before the October 2026 CSS clean-up (commit d1596ad),
   which dropped them; without these, layouts broke on phones.
   ========================================================= */

@media (max-width: 991px) {
  .content-wrapper {
    margin-left: var(--page-margin);
    margin-right: var(--page-margin);
    width: calc(100% - 2 * var(--page-margin));
  }

  .cards-wrapper {
    margin-left: var(--page-margin);
    margin-right: var(--page-margin);
    width: calc(100% - 2 * var(--page-margin));
  }
}

@media (max-width: 991px) and (min-width: 576px) {
  .overlap-card {
    top: 65%;
    left: 60%;
    width: 350px;
  }
}

@media (max-width: 575px) {
  .overlap-card {
    position: static;
    transform: none;
    margin: 20px auto;
    width: 90%;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  }
}

@media (max-width: 991px) {
  .logo-cloud .row,
  .logo-cloud .row2 {
    flex-wrap: wrap;
    gap: 20px;
  }

  .logo-cloud img {
    height: 4.5rem;
  }

  .top-row {
    margin-bottom: 15px;
  }

  .bottom-row {
    max-width: 100%;
    justify-content: center;
  }

  .tab {
    flex: 0 0 220px;
    text-align: left;
    padding: 12px;
  }

  .tab h3 {
    font-size: 1rem;
  }

  .tab p {
    font-size: 0.85rem;
  }

  .tab.active {
    border-radius: 10px;
    border-bottom: 2px solid var(--orange);
  }

  .content {
    margin: 0;
  }

  .overlap-card,
  .overlap-card-why {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    float: none !important;
    width: 90%;
    max-width: 90%;
    max-height: none !important;
    overflow-y: visible !important;
    z-index: auto;
  }

  .overlap-card-why {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 50px;
  }

  .testimonial {
    margin-left: 10px;
    margin-right: 10px;
    font-size: 1.5em;
  }

  .priv-dots-image {
    display: NONE;
  }

  .lockiconsec {
    display: none;
  }

  .custom-gap {
    gap: 15px !important;
    justify-content: center;
  }

  .custom-gap .logo-img {
    height: auto;
  }

  h2,
  h1:where(.page-headline) {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
  }

  .sector-padding {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }

  .dot-padding {
    margin-bottom: 75px !important;
  }

  .approach-padding {
    margin-top: 10px;
    margin-bottom: 0;
  }

  .records-padding {
    margin-bottom: 10px !important;
  }

  .accordion-item {
    break-inside: avoid;
  }

  .row.g-3 {
    gap: 0 !important;
  }

  .row.g-3 {
    display: flex !important;
    flex-direction: column !important;
  }

  .col-12.col-md-6 {
    width: 100% !important;
    margin-top: 0px;
    margin-bottom: 0px !important;
  }

  .accordion-button {
    padding: 14px 16px !important;
    margin-bottom: 0px !important;
  }

  .accordion-item {
    border-radius: 10px !important;
    margin-bottom: 10px;
  }

  .accordion-item:last-of-type > .accordion-header .accordion-button.collapsed {
    border-radius: 10px !important;
  }

  .accordion-item:first-of-type
    > .accordion-header
    .accordion-button.collapsed {
    border-radius: 10px !important;
  }

  .whysub-padding {
    margin-top: 0 !important;
  }

  .org-tabs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .org-tabs::-webkit-scrollbar {
    display: none;
  }

  .org-tabs {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
    cursor: grab;
  }

  .org-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .org-tabs {
    -webkit-overflow-scrolling: touch;
  }

  .CHeadshot {
    display: flex;
    margin-left: 0;
  }

  .modal-body {
    font-size: 0.8rem;
  }

  .col-6 {
    flex: 0 0 auto;
    width: 100%;
  }

  .bottom-card {
    width: 100%;
    height: auto;
    max-height: 100vh;
  }

  .header-grad {
    background: white !important;
  }

  .transparent-logo {
    padding-top: 50px !important;
  }
}

/* Sub-headings: regular weight, scaling with the screen (removed in the clean-up; restored) */
.all-subheader {
  font-weight: 400;
  font-size: clamp(1.1rem, 2.5vw, 2.2rem);
}

/* Styles for the navigation bar */
.navbar-brand img {
  max-height: 30px;
  width: auto;
  margin-left: 88px;
}

.navbar {
  padding-top: 20px;
  padding-bottom: 20px;
  z-index: 1060;
}

.nav-item.dropdown {
  position: static !important;
}

.nav-button {
  width: fit-content;
}

.btn {
  font-family: "Poppins", sans-serif !important;
  font-weight: 900;
  border: none;
  max-width: fit-content;
  padding: 8px;
  margin-left: 10px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

/* Base nav-link style */
.navbar-nav .nav-link {
  position: relative;
  display: inline-block;
  color: white;
  padding-bottom: 5px;
}

/* Underline for hover and active */
.navbar-nav .nav-link::after,
.navbar-nav .dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 65px;
  height: 2.5px;
  border-radius: 2px;
  background-color: orange;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: var(--transition);
}

/* Show underline on hover or when active */
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after,
.navbar-nav .dropdown-toggle.active::after {
  transform: translateX(-50%) scaleX(1);
  color: var(--orange);
  font-size: xx-small;
}

#page-overlay {
  position: fixed;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1040;
  top: 0;
  height: 100vh;
}

#page-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mega-menu {
  width: 100%;
  left: 0;
  right: 0;
  border-radius: 0;
  margin-top: 0;
  background-color: var(--blue);
  border: none;
  box-shadow: var(--shadow-medium);
  z-index: 1055;
}

/* dropdown item */
.mega-menu .dropdown-item {
  position: relative;
  color: white;
  background-color: transparent !important;
  display: inline-block;
  width: fit-content;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: var(--page-margin);
  padding-right: 10px;
}

.nav-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* underline */
.mega-menu .dropdown-item::after {
  content: "";
  position: absolute;
  left: var(--page-margin);
  bottom: 6px;
  width: calc(100% - var(--page-margin));
  height: 2px;
  background-color: orange;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* hover + active */
.mega-menu .dropdown-item:hover::after,
.mega-menu .dropdown-item.active::after {
  transform: scaleX(1);
}

/* span wrapper for underline */
.mega-menu .dropdown-item span {
  position: relative;
  display: inline-block;
}

/* underline */
.mega-menu .dropdown-item span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: orange;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* hover + active */
.mega-menu .dropdown-item:hover span::after,
.mega-menu .dropdown-item.active span::after {
  transform: scaleX(1);
}

.nav-header {
  color: grey !important;
  padding-left: var(--page-margin);
}

.nav-text a {
  font-weight: 800;
}

.form-select {
  display: none;
}

.header-padding {
  padding-bottom: 4rem;
}

.start {
  padding-top: 100px;
  padding-bottom: 75px;
}

/* =========================================
   FIXED HEADER WRAPPER
   ========================================= */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1060;
}

/* =========================================
   ORANGE BANNER
   ========================================= */
.orange-banner {
  width: 100%;
  background: rgb(239, 242, 248);
  color: white;
  text-align: center;
  padding: 4px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.orange-banner p {
  color: var(--blue);
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: relative;
}

@media (max-width: 1024px) {
  /* =========================================
     NAVBAR
     ========================================= */
  html,
  body {
    overflow-x: hidden;
  }

  /* Top navbar adjustments */
  .navbar {
    padding: 12px 10px;
    z-index: 1100;
    position: sticky;
  }

  .navbar-brand img {
    margin-left: 7px;
    max-height: 22px;
  }

  .navbar-dark .navbar-toggler-icon {
    background-image: none;
  }

  .navbar-toggler {
    border: none !important;
    box-shadow: none !important;
  }

  /* CREATE YOUR OWN ICON (3 ORANGE LINES) */
  .navbar-toggler-icon {
    width: 24px;
    height: 2px;
    background-color: orange;
    position: relative;
    display: inline-block;
  }

  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    content: "";
    width: 24px;
    height: 2px;
    background-color: orange;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
  }

  .navbar-toggler-icon::before {
    top: -7px;
  }

  .navbar-toggler-icon::after {
    top: 7px;
  }

  /* WHEN OPEN (NOT collapsed) → TURN INTO X */
  .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-color: transparent;
  }

  .navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
  }

  .navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .form-select {
    position: relative;
    width: 60px;
    padding: 6px 24px 6px 8px;
    font-size: 12px;
    background-position: right 6px center;
    background-size: 10px;
    left: 55px !important;
    margin-top: 4px;
  }

  /* Collapse menu fullscreen with grid centering */
  .navbar-collapse {
    top: 100px;
    left: 5%;
    width: 70%;
    height: calc(100vh - 60px);
    padding: 20px;
    display: grid;
    place-items: center;
    align-items: center;
    justify-content: center;
    transform: translateY(-110%);
    opacity: 0;
    transition: all 0.01s ease;
    z-index: 1050;
    overflow-y: auto;
  }

  .navbar-collapse.show {
    transform: translateY(0);
    opacity: 1;
  }

  /* Nav links */
  .navbar-nav {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    text-align: center;
    align-items: center;
  }

  .navbar-nav .nav-link {
    font-size: 22px;
    font-weight: 500;
    padding: 6px 0;
    width: fit-content;
    position: relative;
  }

  .navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background-color: var(--orange);
  }

  /* Dropdown alignment */
  .nav-item.dropdown > .nav-link {
    text-align: center;
  }

  .nav-header {
    display: none !important;
  }

  /* Mobile mega menu */
  .mega-menu {
    position: static !important;
    width: 100%;
    padding: 0 !important;
    background: none !important;
  }

  .mega-menu .container-fluid,
  .mega-menu .row {
    display: block;
    padding: 0;
    margin: 0;
  }

  .mega-menu .col-md-6 {
    width: 100%;
    padding: 0;
  }

  .mega-menu .col-md-6:last-child {
    display: none;
  }

  .mega-menu .dropdown-item {
    padding: 10px 0;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    border-bottom: none;
  }

  /* CTA Button */
  .nav-button {
    display: block;
    margin: 30px auto 0 auto !important;
    width: 100%;
    text-align: center;
    padding: 12px 28px;
    font-size: 16px;
    border-radius: 8px;
  }

  .nav-button .btn {
    padding: 12px 28px;
    font-size: 16px;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    align-items: center;
  }

  .start {
    padding-top: 20px !important;
  }

  .start-content {
    padding-top: 0;
  }

  /* tiny ISO logos */
  .banner-iso {
    display: none !important;
  }

  /* text styling */
  .banner-text {
    color: var(--blue);
    font-size: 0.8rem !important;
  }

  /* vertical divider */
  .banner-divider {
    width: 2px;
    height: 18px;
    margin-left: 15px;
  }

  /* trust centre link */
  .banner-link {
    font-size: 0.8 !important;
    font-weight: 500;
  }
}

@media (min-width: 991px) and (max-width: 1024px) {
  .navbar-collapse {
    height: 20px;
  }

  .header-padding {
    padding-bottom: 0px;
  }

  .navbar-toggler-icon {
    position: absolute;
    right: 0 !important;
  }

  .navbar-expand-lg .navbar-toggler {
    position: absolute;
  }

  .navbar-toggler {
    margin-right: 100px;
  }
}

/* tiny ISO logos */
.banner-iso {
  height: 23px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

/* text styling */
.banner-text {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
}

/* vertical divider */
.banner-divider {
  width: 2px;
  height: 18px;
  background-color: var(--blue);
  opacity: 0.4;
  margin-left: 15px;
}

/* trust centre link */
.banner-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: underline;
  transition: 0.2s;
}

.banner-link:hover {
  color: var(--orange);
}

@media (max-width: 991px) {
  /* =========================================
     MOBILE DROPDOWN FIX
     ========================================= */
  .mega-menu .dropdown-item {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: break-word;
    padding-left: 20px !important;
    padding-right: 20px !important;
    text-align: center;
    display: block !important;
  }

  .mega-menu .dropdown-item::after {
    left: 20px !important;
    width: calc(100% - 40px) !important;
  }
}

:root {
  --bs-body-font-family: "Poppins", sans-serif;
  --orange: #ff8f00;
  --blue: #00205c;
  --light-orange: #ff8f0033;
  --light-blue-grad: linear-gradient(
    135deg,
    rgba(92, 125, 184, 0.1),
    rgba(92, 125, 184, 0.01)
  );
  --side-left: clamp(80px, 10vw, 100px);
  --page-margin: 88px;
  --mobile-page-margin: 20px;
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

@media (max-width: 1599px) and (min-width: 992px) {
  :root {
    --page-margin: 40px !important;
  }
}

.footer {
  background: linear-gradient(135deg, var(--blue), #001122);
  color: white;
  padding: 40px 20px 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.social-icon {
  width: 70px;
  height: auto;
  color: white;
}

.footer-social-btn .social-icon path {
  transition: fill 0.3s ease;
  fill: var(--orange) !important;
}

.footer-social-btn:hover .social-icon path {
  fill: var(--orange) !important;
}

.social-icon {
  margin-bottom: 15px;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at bottom right,
    rgba(255, 143, 0, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.footer-content {
  margin-left: var(--page-margin);
  margin-right: var(--page-margin);
  width: calc(100% - 2 * var(--page-margin));
  padding-top: 20px;
  color: white;
  margin-bottom: 10px;
}

/* Bottom row */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #666;
}

.footer-bottom a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: var(--orange);
}

.footer-bottom .separator {
  color: var(--orange);
  margin: 0 5px;
}

.footer-right {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-right a {
  color: white;
  text-decoration: none;
}

.footer-sections {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  position: relative;
}

/* Vertical separators between sections */
.footer-section:not(:last-child) {
  border-right: 3px solid var(--orange);
  padding-right: 20px;
  margin-right: 20px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section a {
  position: relative;
  transition: color 0.3s ease;
}

.footer-section h4 {
  margin-bottom: 15px;
}

.footer-section a::before {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s ease;
}

.footer-section a:hover::before {
  width: 100%;
}

/* Links styling: blue with orange hover */
.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: white;
  text-decoration: underline;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.footer-left a {
  color: white;
  text-decoration: none;
  font-style: italic;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 15px;
}

.footer-logo img {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
}

.tran-logo-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0 !important;
}

.transparent-logo {
  padding-top: 0px !important;
  margin: 0px !important;
  font-size: 2.5rem;
  opacity: 0.4;
}

.footer-social-btn img {
  width: 60px;
  height: auto;
}

@media (min-width: 768px) {
  .footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 991px) {
  .footer-content {
    margin-left: var(--mobile-page-margin) !important;
    margin-right: var(--mobile-page-margin) !important;
    width: calc(100% - 2 * var(--mobile-page-margin)) !important;
    padding-top: 20px;
    color: white;
    margin-bottom: 10px;
  }

  .footer-section {
    border-right: none !important;
    border-bottom-color: var(--orange) !important;
    border-bottom-style: solid;
  }

  .footer-social-btn img {
    margin-bottom: 15px !important;
  }

  .footer-right {
    gap: 0px;
  }

  .footer-bottom a {
    margin: 0;
  }

  .footer-right {
    display: flex;
    align-items: center;
  }

  /* Keep normal links inline */
  .footer-right a,
  .footer-right .separator {
    display: inline;
  }

  /* Wrap top links */
  .footer-right {
    text-align: center;
  }

  /* COOKIE BUTTON → own row */
  .footer-right button {
    display: block;
    margin-top: 10px;
  }

  /* OPTIONAL: hide separator before button */
  .footer-right button::before {
    content: none;
  }

  .footer-right .separator:last-of-type {
    display: none;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Cyber Essentials certificate widget (iframe) */
.cert-widget {
  border: none;
}
