
/*==============================================================
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Products and Services Card
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
================================================================*/
.psp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.psp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin: 3rem auto 0;
  padding: 0;
  max-width: 1200px;
  align-items: stretch; /* ensures all cards in a row are same height */
}
@media (max-width: 768px) {
  .psp-grid {
    grid-template-columns: 1fr; /* 🔁 Stack cards */
  }
}

.psp-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  max-width: 562.5px;
  height: auto;
  padding: 0;
  /*padding-left: 7.5px;
  padding-right: 7.5px;*/
  position: relative;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.psp-card .psp-title {
  color: #53b0d7;
  transform: scale(1.03);
  font-size: 1.5rem;
  text-align: left;
  padding: 1rem;
  margin: 0;
  line-height: 1.8rem;
}

.psp-card-text,
.psp-card-image {
  flex: 1 1 50%;
  max-width: 577px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.psp-image-wrapper {
  width: 100%;
  /*height: 100%;*/
  /*background-color: #f9f9f9;*/
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 240px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  
}
@media (min-width: 1600px) {
  .psp-image-wrapper {
    background-image: url('/assets/images/bkg-sq2-2048.webp');
  }
}

@media (max-width: 999px) {
  .psp-image-wrapper {
    background-image: url('/assets/images/bkg-sq2-1000.webp');
  }
}

@media (max-width: 480px) {
  .psp-image-wrapper {
    background-image: url('/assets/images/bkg-sq-400.webp');
  }
}
.theme-dark .psp-card {
  background-color: #1f1f1f;
  box-shadow: 0 2px 57px 0px rgba(20, 20, 20, 0.6);
}
.psp-image-wrapper img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  max-height: 80%; /* Avoid stretching beyond wrapper */
  object-fit: contain;
  transition: opacity 0.3s ease;
}
.psp-image-wrapper {
   flex: 1;
  height: 100%;
  max-height: unset;
  /*padding: 0; /* Remove padding to allow full background coverage */
}
.psp-card-inner {
  /*display: flex;*/
  flex-direction: column;
  display: grid;
  grid-template-rows: auto 1fr; /* title auto height, image fills remaining */
  height: 100%;
  padding: 1rem;
  box-sizing: border-box; /* Ensure padding doesn't break layout */
  /*flex-grow: 1;
  padding: 1rem;*/
}
.psp-title {
  min-height: 4.5rem; /* estimate for 2-line title */
  display: flex;
  align-items: center;
}
.psp-card.bkgrender {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.psp-card .psp-excerpt-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-color: #ffffff;*/
  color: #444;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  padding: 1rem;
}

.psp-card:hover .psp-excerpt-wrapper {
  opacity: 1;
}

.psp-card:hover .psp-image-wrapper img {
  opacity: 0;
}

.psp-card .psp-excerpt-wrapper p {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  /*text-align: justify; /* This justifies the paragraph */
  /*text-justify: inter-word;*/
}

.psp-card .psp-excerpt-wrapper .box-button {
  margin-top: auto;
  align-self: center;
}

@media (max-width: 768px) {
  .psp-card {
    width: 100%;
    max-width: 100%;
  }
  .psp-card-text,
  .psp-card-image {
    max-width: 100%;
  }
}
.psp-card .psp-excerpt-wrapper {
  box-sizing: border-box;
  overflow: auto;
}

.psp-card:hover .psp-title {
  font-weight: 600;
  color: #0c2632; /* Navy for light mode */
}

.theme-dark .psp-card:hover .psp-title {
  color: #ffffff; 
}
.psp-card .psp-excerpt-wrapper .box-button {
  font-size: 1.125rem;
  padding: 0.75rem 1.5rem;
  min-width: 160px;
  align-self: center;
  margin-bottom: 0.5rem;
}

/*_________________________________________________
    ps cards (for home page and ps page) END 
_________________________________________________*/

/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Single Products and Services Post Style START
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/
.psp-hero-description {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: nowrap;
  margin-bottom: 2rem;
}

.psp-hero-image {
  flex: 0 0 48%;
  max-width: 520px;
}

.psp-hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.psp-description {
  flex: 0 0 48%;
  max-width: 562.5px;
}

/* Tweak layout only when total width is too small to fit side-by-side (e.g. < 713px) */
@media (max-width: 712px) {
  .psp-hero-description {
    flex-direction: column;
    gap: 2rem;
  }

  .psp-hero-image,
  .psp-description {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ==================================================
Tables - Key Benefit Tables etc Start 
====================================================*/
.ps-table-section {
  width: 100%;
  max-width: 1132px; /* 520 + 562.5 + gap */
  margin: 0 auto 0 auto;
  padding-bottom: 0;
}
.ps-table {
  /*display: flex;
  flex-direction: column;
  align-items: center;*/
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  /*gap: 1.5rem;*/
  padding: 2rem 0; 
  background-color: var(--table-bg, rgba(0, 0, 0, 0.03));
}

.ps-table-inner {
  padding: 3rem 1.5rem; 
  margin: 0 auto;               /* Center horizontally */
  max-width: 1132px;            /* Or whatever width you want */
  border-radius: 0.5rem; 
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.ps-table-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0;
  position: relative; /* Required for the ::after line */
  max-width: 1100px;
  margin: 0 auto;
  font-size: 1.3rem;
}
.theme-dark .ps-table-inner  {
  padding: 3rem 0; /* Top & bottom padding only */
  background-color: var(--table-bg, #292929);
}

/* This creates the 80% centered horizontal line */

.ps-table-row:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background-color: #d3d3d3;
  pointer-events: none;
}

.ps-table-left {
  display: flex;
  align-items: center;
  min-width: 280px;
  max-width: 400px;
  flex: 1;
  padding-right: 1rem;
}
.ps-table-icon svg {
  padding: 0 2rem;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  fill: #53b0d7 !important;
  }
.ps-table-icon {
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-table-label strong {
  font-weight: 700;
}

.ps-table-text {
  flex: 1;
  min-width: 250px;
}

.ps-table-text span {
  display: block;
  text-align: left;
}

/* Responsive Behavior */
@media (max-width: 768px) {
  .ps-table-row {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.5rem;
  }

  .ps-table-left {
    justify-content: flex-start;
    width: 100%;
    padding-right: 0;
  }

  .ps-table-text {
    width: 100%;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }

  .ps-table-text span {
    display: block;
    text-align: center;
  }
}



/* ps table end */

/*=============================================
Tabs Start
===========================================*/
.ps-tabs-container {
  display: flex;
  gap: 0;
  max-width: 1100px;
  margin: 2rem auto;
  /*background-color: #fff;*/
  /*box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;*/
  overflow: hidden;
}

.ps-tabs-sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.ps-tabs-sidebar .tab-button {
  box-shadow: none !important;
}
.tab-button,
.tab-button a {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  font-size: 1.3rem;
  background-color: #ffffff;
  margin: 0;
  box-shadow: none;
}
.theme-dark .tab-button {
  background-color: #121212;
  color: #ffffff !important;
}
.tab-button.active {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  font-size: 1.3rem;
  background-color: #53b0d7;
}
.theme-dark .tab-button.active {
  color: #121212 !important;
}

.ps-tabs-content {
  flex: 2;
  padding: 0 2rem;
  background-color: #fff;
  font-size: 1.3rem;
  max-width: 745px;
}
.theme-dark .ps-tabs-content {
  background-color: #121212;
}
.ps-tabs-content p {
  padding-top: 0;
  font-size: 1.3rem;
  margin: 0;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

/* svg size*/
.ps-tabs-content li img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 0.75rem;
  vertical-align: middle;
  filter: invert(64%) sepia(16%) saturate(1277%) hue-rotate(156deg) brightness(94%) contrast(85%); /* Perfect BLue */
}
.theme-dark .ps-tabs-content li img {
  filter: invert(64%) sepia(16%) saturate(1277%) hue-rotate(156deg) brightness(94%) contrast(85%); /* Perfect BLue */
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .ps-tabs-container {
    flex-direction: column;
  }

  .ps-tabs-sidebar,
  .ps-tabs-content {
    flex: unset;
    width: 100%;
  }

  .tab-button {
    text-align: center;
  }
}
/*~~~~~~~~~~~Some Tabs SVG styles are below in collapsibles ~~~~~~*/
/* Tabs End */
/*==========================================
Collabsibles / Dropdowns 
=============================*/
/* Collapsible svgs */
.ps-tab-scontent ul,
.ps-collapsible-content ul {
  list-style: none;
  padding-left: 0;
}

.ps-tabs-content li,
.ps-collapsible-content li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
/* svg size*/
.ps-collapsible-content li img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 0.75rem;
  vertical-align: middle;
  filter: brightness(0) invert(1); /* Fallback hack to make icons white */
}
.theme-dark .ps-collapsible-content li img {
  filter: brightness(0) invert(0.07); /* close to #121212 */
}
/*
.ps-tabs-content ul li img,
.ps-collapsible-content ul li img {
  color: #ad0e0e;
  /*filter: brightness(0) invert(1); /* Fallback hack to make icons white $$
}
*/
/* Cheveron Dropdown svg color */
.dropdown-icon svg {
  width: 1rem;
  height: 1rem;
  color: #121212;
  /*fill: rgba(202, 20, 75, 0.267)
  /*fill: white; /* for fill-based SVGs */
  /*stroke: white; /* for stroke-based SVGs */
  transition: transform 0.3s ease;
  margin-left: 1rem;
}
.theme-dark .dropdown-icon svg {
  fill: #121212; /* for fill-based SVGs */
  stroke: #121212; /* for stroke-based SVGs */
  transition: transform 0.3s ease;
}

.psp-tab-content li img,
.psp-collapsible-content li img {
  /*filter: brightness(0) saturate(100%); /* makes SVG black */
  transition: transform 0.2s;

}

.psp-tab-content li:hover img,
.psp-collapsible-content li:hover img {
  transform: scale(1.1);
}

/* NEW*/
.collapsibles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.collapsible-box {
  width: 100%;
}

.ps-collapsible-toggle {
  width: 100%;
  justify-content: space-between;
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  color: #ffffff;
  box-shadow: none;
}

.theme-dark .ps-collapsible-toggle {
  color: #121212;
  box-shadow: none;
}
.dropdown-icon {
  font-size: 1rem;
  margin-left: 1rem;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  /*display: inline-block;*/
  margin-left: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ps-collapsible-toggle[aria-expanded="true"] .dropdown-icon {
  transform: rotate(180deg); /* upside down */
}

.ps-collapsible-content {
  background-color: #53b0d7;
  padding: 1rem 1.25rem;
  margin-top: -1px;
  display: none;
  animation: fadeIn 0.3s ease-in-out;
  color: white;
  font-size: 1.3rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.theme-dark .ps-collapsible-content {
  color: #121212;
}

.ps-collapsible-content.active {
  display: block;
  max-height: 1000px; /* large enough to contain your content */
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}



/* Collabsibles / Dropdowns END */
/*=============================================
 CTA Call To Action Start 
 ============================================*/
.cta-section {
  margin: 0 0 5rem 0;
  text-align: center;
}

.cta-pretext {
  color: #2b98cb;
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.cta-pretext .line {
  flex: 1 1 50px;
  height: 1px;
  background-color: #53b0d7;
  max-width: 100px;
  min-width: 50px;
}

.cta-button-wrapper {
  text-align: center;
  margin-top: 0.5rem;
}

/* svg*/
.cta-with-icon {
  display: inline-flex;
  flex-direction: column; /* ← switch to column layout */
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  /*font-size: 1.25rem;*/
  padding: 2.25rem;
  text-align: center;
}
.cta-with-icon:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.cta-with-icon:hover .cta-icon svg {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;                 /* ensures full width to center inside */
  padding-bottom: 0.5rem;
}
.cta-icon svg {
  width: 3rem;
  height: 3rem;
  fill: currentColor; /* Uses button text color */
  display: block;
}
.cta-label {
  font-weight: 600;
  font-size: 1.5rem;
}
.cta-arrow {
  font-size: 1.5rem;
  transform: translateY(1px);
}
/*
.cta-label,
.cta-arrow {
  display: inline;
  text-align: center;
}

.cta-arrow {
  font-size: 1.5rem;
  margin-left: 0.5rem;
}*/
.cta-text-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* new svg */
/*.cta-icon svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor; /* Uses button text color $$
  display: inline-block;
}*/

.cta-icon svg path,
.cta-icon svg circle,
.cta-icon svg rect {
  fill: currentColor;
}
.cta-icon svg [fill] {
  fill: currentColor !important;
}
.cta-arrow {
  transition: transform 0.3s ease;
}
.box-button:hover .cta-arrow {
  transform: translateX(4px);
}

/* CTA Button */
.cta-button-wrapper .box-button,
.cta-button-wrapper .box-button a {
  padding: 1.5rem 1.5rem;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  border: none;
  background-color: #7cd0dd;
  color: #0c2632 !important;
  transition: all 0.3s ease;
  display: inline-block;
  border-radius: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta-button-wrapper .box-button:hover {
  background-color: #5eaaa8;
  color: #f5f5f5 !important;
  font-weight: 600;
}


/* CTA END */