/* =========================================================
   trust-centre page styles.
   Loaded after styles/global.css on trust-centre.html only.
   ========================================================= */

/* Define colours for site*/
: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.10), rgba(92, 125, 184, 0.01) );
  --side-left: clamp(80px, 10vw, 100px);
  --page-margin: 88px;
  --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;
  }

  .aboutheader-image {
    min-height: 525px !important;
    height: 45vh !important;
  }
}

.aboutheader-image {
  width: 200%;
  overflow: hidden;
  min-height: 450px;
  height: 40vh;
  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;
}

/* IMAGE WRAPPER (anchor for overlay) */
.video-col {
  position: relative;
}

/* OVERLAY CONTAINER */
.iso-overlay {
  position: absolute;
  bottom: 125px;
  right: 20px;
  display: flex;
  gap: 50px;
  z-index: 3;
}

/* INDIVIDUAL CARDS */
.iso-card {
  width: 150px;
  height: 150px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LOGO IMAGE */
.iso-card img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

/* SECTION */
.trust-logos-section {
  padding: 80px 0;
  position: relative;
}

/* LEFT */
.trust-logos-title {
  margin-bottom: 20px;
}

.trust-logos-text {
  opacity: 0.9;
  line-height: 1.5;
}

/* RIGHT */
.trust-logos-right {
  display: flex;
  justify-content: center;
}

/* GRID */
.trust-logos-grid {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

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

/* CARD */
.trust-logo-card {
  width: 200px;
  height: 100px;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient( 135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05) );
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* IMAGE */
.trust-logo-card img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

/* SECTION */
.trust-case-section {
  padding: 80px 0;
}

/* HEADER CARD */
.trust-case-header-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* CASE GRID */
.trust-case-cards {
  /* display: grid;
  grid-template-columns: 1fr 1fr;
  */ gap: 20px;
}

/* CASE CARD */
.trust-case-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 340px;
}

/* IMAGE */
.trust-case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DARK BLUE OVERLAY */
.trust-case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient( to right, rgba(0,32,92,1) 40%, rgba(0,32,92,0.75) 60%, rgba(0,32,92,0.3) 85%, rgba(0,32,92,0.05) 100% );
}

/* CONTENT */
.trust-case-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #fff;
}

/* LABEL */
.trust-case-label {
  font-size: 0.9rem;
  font-weight: 800;
  opacity: 0.8;
  color: var(--orange);
}

/* TITLE */
.trust-case-title {
  font-weight: 600;
  margin: 5px 0;
  color: white;
}

/* TEXT */
.trust-case-text {
  font-weight: 400;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: white;
}

.trust-case-btn {
  color: white;
  background: linear-gradient(135deg, #ff8f00, #ffaa33);
  margin-left: 0;
  margin-top: auto;
}

/* TESTIMONIALS */
.trust-testimonials {
  padding-left: 40px;
}

/* TITLE */
.trust-testimonials-title {
  margin-bottom: 30px;
  color: var(--blue);
}

/* QUOTE */
.trust-quote {
  margin-bottom: 30px;
  color: var(--blue);
}

.trust-quote p {
  font-style: italic;
  margin-bottom: 10px;
  color: var(--blue);
}

.trust-quote a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
}

/* SECTION */
.trust-security-section {
  padding: 60px 0 60px 0;
}

/* HEADER */
.trust-security-header {
  display: flex;
  align-items: flex-start;
}

/* LEFT TEXT */
.trust-security-left h2 {
  margin-bottom: 10px;
}

.trust-security-left h3 {
  font-weight: 400;
  opacity: 0.9;
  color: white;
}

/* RIGHT LINK */
.trust-security-link {
  color: var(--orange);
  text-decoration: underline;
  font-weight: 600;
  font-size: 1.5rem;
}

.trust-security-left {
  flex: 1.7;
}

.trust-security-right {
  flex: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 60px;
}

/* DIVIDER */
.trust-security-divider {
  height: 1px;
  background: rgba(255,255,255,0.7);
  margin: 30px 0;
}

/* GRID */
.trust-security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

/* COLUMN */
.trust-security-col {
  padding: 0 20px;
  position: relative;
}

/* VERTICAL DIVIDERS */
.trust-security-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(255,255,255,0.5);
}

/* TITLE ROW */
.trust-security-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: white;
}

/* ICON */
.trust-security-title img {
  width: 60px;
  height: auto;
}

/* TEXT */
.trust-security-col h3 {
  font-weight: 400;
  color: white;
}

.trust-sec-list {
  line-height: 2;
}

/* EXTENSION CARD */
.trust-security-extension {
  background: #fff;
  border-radius: 0 0 20px 20px;
  padding: 30px 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* LOGO ROW */
.trust-security-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 150px;
}

/* LOGOS */
.trust-security-logos img {
  max-height: 120px;
  object-fit: contain;
  opacity: 0.8;
  transition: 0.3s ease;
}

.trust-security-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* SECTION */
.trust-partners-section {
  padding: 80px 0;
}

/* FULL WIDTH GLASS CARD */
.trust-partners-card {
  width: 100%;
  padding: 60px 0;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* CONTENT WRAPPER (keeps alignment with rest of site) */
.trust-partners-card {
  margin: 0 auto;
  border-radius: var(--border-radius);
}

/* TITLE */
.trust-partners-title {
  margin-bottom: 15px;
  color: var(--blue);
}

@media (max-width: 992px) {
  /* =========================
     TRUST PAGE MOBILE FIXES
     ========================= */
  .trust-heading {
    padding-bottom: 2rem;
  }

  .mainshadow-nav::after {
    height: 90px!important;
  }

  /* ===== HERO ===== */
  .video-col {
    margin-top: 30px;
  }

  .aboutheader-image {
    width: 100%;
    height: auto;
  }

  /* ISO cards reposition */
  .iso-overlay {
    position: static;
    margin-top: 20px;
    justify-content: center;
    gap: 20px;
  }

  .iso-card {
    width: 120px;
    height: 100px;
  }

  /* ===== TRUST LOGOS ===== */
  .trust-logos-section {
    text-align: center;
    padding: 15px 0;
  }

  .trust-logos-grid {
    gap: 15px;
  }

  .trust-logo-card {
    width: 140px;
    height: 90px;
    padding: 10px;
  }

  /* ===== CASE STUDIES ===== */
  .trust-case-section {
    padding: 20px 0;
  }

  .trust-case-header-card {
    padding: 20px;
  }

  .trust-case-cards {
    grid-template-columns: 1fr;
  }

  .trust-case-card {
    height: 535px;
  }

  .trust-case-btn {
    margin-left: 0px!important;
  }

  .trust-testimonials {
    padding-left: 0;
    margin-top: 30px;
  }

  /* ===== SECURITY SECTION ===== */
  .trust-security-section {
    padding: 20px 0px;
  }

  .trust-security-header {
    flex-direction: column;
    gap: 20px;
  }

  .trust-security-right {
    justify-content: flex-start;
    padding-top: 0;
  }

  .trust-security-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .trust-security-col {
    padding: 0;
  }

  /* remove vertical divider lines */
  .trust-security-col::after {
    display: none;
  }

  /* ICON + TITLE INLINE (this is what you wanted) */
  .trust-security-title {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .trust-security-title img {
    width: 60px;
  }

  /* ===== SECURITY LOGOS ===== */
  .trust-security-logos {
    flex-wrap: wrap;
    gap: 10px;
  }

  .trust-security-logos img {
    max-height: 60px;
  }

  /* ===== PARTNERS ===== */
  .trust-partners-section {
    padding: 20px 0px;
  }

  .trust-partners-card {
    padding: 30px 0;
  }

  /* carousel fix */
  .carousel-row {
    flex-wrap: nowrap;
  }

  .logo-card {
    min-width: 140px;
  }

  /* arrows smaller */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    transform: scale(0.7);
  }

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

  .mobile-mb2 {
    margin-bottom: 20px !important;
  }
}

@media (max-width: 1599px) and (min-width: 992px) {
  .trust-case-card {
    height: 420px;
  }

  .trust-case-btn {
    margin-left: 0px !important;
  }

  /* OVERLAY CONTAINER */
  .iso-overlay {
    position: absolute;
    bottom: 125px;
    right: 20px;
    display: flex;
    gap: 50px;
    z-index: 3;
  }

  /* INDIVIDUAL CARDS */
  .iso-card {
    width: 125px;
    height: 125px;
    background: rgba(0, 32, 92, 0.8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  }
}

.accordion li {
  margin-left: 20px;
}

.iso-card {
  background: transparent!important;
}

@media (min-width: 991px) and (max-width: 1150px) {
  .iso-card {
    width: 110px;
    height: auto;
    background: transparent;
  }

  .iso-overlay {
    gap: 10px !important;
  }
}
