/*
 * Page-level styles carried over from the Angular components (stylesheets and template <style> blocks).
 * Each block is scoped to its page wrapper (.pg-<page>), reproducing Angular's per-component
 * style encapsulation. Loaded after the theme stylesheets.
 */

/* ---- header ---- */

/* MOBILE HEADER VISIBILITY */
@media (max-width: 991px) {
    .desktop-header:is(.pg-header *) {
        display: none !important;
    }
    .mobile-header:is(.pg-header *) {
        display: block !important;
    }
}

@media (min-width: 992px) {
    .mobile-header:is(.pg-header *) {
        display: none !important;
    }
}

/* MOBILE MENU PANEL */
.mobile-menu-panel:is(.pg-header *) {
    position: fixed;
    top: 0;
    right: -300px; /* hidden by default */
    width: 280px;
    height: 100vh;
    background: #ffffff;
    z-index: 999999;
    transition: 0.3s ease-in-out;
    overflow-y: auto;
    padding: 20px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.15);
}

/* When menu is open */
.mobile-menu-panel.open:is(.pg-header *) {
    right: 0;
}

/* BACKDROP */
.mobile-backdrop:is(.pg-header *) {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999998;
    display: none;
}

.mobile-backdrop.show:is(.pg-header *) {
    display: block;
}

/* Mobile Header */
.mobile-header:is(.pg-header *) {
    display: none;
    background: #fff;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
}

.mobile-header-inner:is(.pg-header *) {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-btn:is(.pg-header *) {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
}

.close-mobile-menu:is(.pg-header *) {
    background: none;
    border: none;
    font-size: 26px;
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
}

/* ---- home ---- */

.banner-section:is(.pg-home *) {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.banner-section:is(.pg-home *) .slide:is(.pg-home *) {
  position: relative;
  background-size: cover;
  background-position: center center;
  height: 100vh;
  display: flex;
  align-items: center;
}

.banner-section:is(.pg-home *) .content-column:is(.pg-home *) {
  max-width: 600px;
  color: #fff;
  z-index: 2;
}

.banner-section:is(.pg-home *) .inner-column:is(.pg-home *) .title:is(.pg-home *) {
  font-size: 22px;
  color: #ce1126;
  margin-bottom: 10px;
}

.banner-section:is(.pg-home *) h1:is(.pg-home *) {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
  /* color: #141D38; */
  color: white; 
}

.banner-section:is(.pg-home *) .text:is(.pg-home *) {
  font-size: 18px;
  margin-bottom: 30px;
  color: white;
  /* color: #141D38; */
  font-weight: bold;
}
.tagline:is(.pg-home *) {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 10px 0;
    letter-spacing: 0.5px;
}

.btn-style-onee:is(.pg-home *) {
	position: relative;
	display: inline-block;
	font-size: 14px;
	line-height: 20px;
	color: #ffffff;
	padding: 11px 20px;
	font-weight: 500;
	overflow: hidden;
	border-radius: 3px;
	text-transform: capitalize;
	background-color: #0060ff;
	font-family: 'Montserrat', sans-serif;
	z-index: 1;
}

.btn-style-onee:is(.pg-home *):before {
	position: absolute;
	content: '';
	left: 92%;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	opacity: 1;
	background-color: #20306c;
	transition: all 0.4s;
	transform: skewX(-25deg);
}

/* Keep text layer above the before element */
.btn-style-onee:is(.pg-home *) .txt:is(.pg-home *) {
	position: relative;
	z-index: 2;
}

/* Hover animation */
.btn-style-onee:hover:is(.pg-home *)::before {
	left: 0%;
	transform: scale(1, 1);
}

/* Hover color - fixed to stay white */
.btn-style-onee:hover:is(.pg-home *) {
	color: #ffffff !important;
	border-color: #00e49a;
}

/* Theme variation */
.theme-btn.btn-style-onee:is(.pg-home *) {
	background-color: #ce1126;
	color: #fff;
	padding: 12px 30px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 600;
	transition: 0.3s ease;
	position: relative;
	z-index: 1;
}

/* Keep hover background and text white */
.theme-btn.btn-style-onee:hover:is(.pg-home *) {
	background-color: #ce1126;
	color: #ffffff !important;
}

/* Ensure pseudo element doesn’t hide text */
.theme-btn.btn-style-onee:is(.pg-home *)::before {
	z-index: 0;
}

/* Make all image boxes equal size */
.equal-image-box:is(.pg-home *) {
	width: 100%;
	height: 280px;      /* You can change height (250px, 300px etc.) */
	overflow: hidden;
	position: relative;
	border-radius: 10px;
	}
	
	/* Make images cover full box */
	.equal-image-box:is(.pg-home *) img:is(.pg-home *) {
	width: 100%;
	height: 100%;
	object-fit: cover;   /* ensures full coverage */
	object-position: center;
	display: block;
	}
	


	      /* Equal height for Service Section */
.services-section:is(.pg-home *) .row:is(.pg-home *),
.services-section-two:is(.pg-home *) .row:is(.pg-home *) {
  display: flex;
  flex-wrap: wrap;
}

.services-section:is(.pg-home *) .service-block:is(.pg-home *),
.services-section-two:is(.pg-home *) .service-block-two:is(.pg-home *) {
  display: flex;
}

.services-section:is(.pg-home *) .inner-box:is(.pg-home *),
.services-section-two:is(.pg-home *) .inner-box:is(.pg-home *) {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}


/* technology section */

.technology-block:is(.pg-home *) .inner-box:is(.pg-home *) {
	min-height: 150px; /* Consistent height for all blocks */
	width: 100%; /* Consistent width within grid */
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 15px;
	box-sizing: border-box;
}
.technology-block:is(.pg-home *) .text:is(.pg-home *) {
	font-size: 14px; /* Smaller font for concise text */
	margin-top: 5px;
}
.technology-block:is(.pg-home *) h6:is(.pg-home *) {
	margin-bottom: 5px;
}

/* ---- about ---- */

.process-section:is(.pg-about *) .row:is(.pg-about *) {
    display: flex;
    flex-wrap: wrap;
}

.process-block:is(.pg-about *) {
    display: flex;
}

.process-block:is(.pg-about *) .inner-box:is(.pg-about *) {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.process-block:is(.pg-about *) h4:is(.pg-about *) {
    margin-top: 10px;
    margin-bottom: 10px;
}

.process-block:is(.pg-about *) .text:is(.pg-about *) {
    flex-grow: 1; /* pushes read-more to bottom */
}

.process-block:is(.pg-about *) .read-more:is(.pg-about *) {
    margin-top: auto; /* keep at bottom */
}






/* Make row flexible */
.technology-section:is(.pg-about *) .row:is(.pg-about *) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Each block should behave like a column */
.technology-block:is(.pg-about *) {
    width: 20%;
    padding: 15px;
    display: flex;
}

@media (max-width: 991px) {
    .technology-block:is(.pg-about *) {
        width: 33.33%;
    }
}

@media (max-width: 767px) {
    .technology-block:is(.pg-about *) {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .technology-block:is(.pg-about *) {
        width: 100%;
    }
}

/* Equal height magic */
.technology-block:is(.pg-about *) .inner-box:is(.pg-about *) {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px 15px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    backdrop-filter: blur(2px);
}

/* Icon spacing */
.technology-block:is(.pg-about *) .icon-box:is(.pg-about *) {
    margin-bottom: 15px;
}

/* Title styling */
.technology-block:is(.pg-about *) h6:is(.pg-about *) {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
}
/* Hover: make text and icon white */
.technology-block:is(.pg-about *) .inner-box:hover:is(.pg-about *) h6:is(.pg-about *),
.technology-block:is(.pg-about *) .inner-box:hover:is(.pg-about *) .icon-box:is(.pg-about *) span:is(.pg-about *) {
    color: #ffffff !important;
}

/* ---- projects ---- */

/* Equal height for all project images */
        .equal-image-box:is(.pg-projects *) {
        width: 100%;
        height: 280px;           /* Adjust height if needed */
        overflow: hidden;
        position: relative;
        border-radius: 8px;      /* optional */
        }

        /* Ensures all images fill the box */
        .equal-image-box:is(.pg-projects *) img:is(.pg-projects *) {
        width: 100%;
        height: 100%;
        object-fit: cover;       /* Makes every image uniform */
        object-position: center;
        display: block;
        }

        /* Keep your overlay working normally */
        .overlay-box:is(.pg-projects *) {
        position: absolute;
        inset: 0;
        opacity: 0;
        background: rgba(0,0,0,0.6);
        transition: 0.3s ease;
        }

        .equal-image-box:hover:is(.pg-projects *) .overlay-box:is(.pg-projects *) {
        opacity: 1;
        }

/* ---- projectdetails ---- */

/* Maintain existing site styles, only adjust layout/height */
.project-detail-section:is(.pg-projectdetails *) {
  position: relative;
  padding: 80px 0;
  background: #fff;
}

/* Equal height for both columns */
.project-detail-section:is(.pg-projectdetails *) .row.clearfix:is(.pg-projectdetails *) {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.project-detail-section:is(.pg-projectdetails *) .image-column:is(.pg-projectdetails *),
.project-detail-section:is(.pg-projectdetails *) .info-column:is(.pg-projectdetails *) {
  display: flex;
  flex-direction: column;
}

.project-detail-section:is(.pg-projectdetails *) .inner-column:is(.pg-projectdetails *) {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Image takes full height */
.project-detail-section:is(.pg-projectdetails *) .image:is(.pg-projectdetails *) img:is(.pg-projectdetails *) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Lower section spacing only */
.project-detail-section:is(.pg-projectdetails *) .lower-section:is(.pg-projectdetails *) {
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .project-detail-section:is(.pg-projectdetails *) {
    padding: 60px 0;
  }

  .project-detail-section:is(.pg-projectdetails *) .row.clearfix:is(.pg-projectdetails *) {
    flex-direction: column;
  }

  .project-detail-section:is(.pg-projectdetails *) .image-column:is(.pg-projectdetails *) {
    margin-bottom: 30px;
  }

  .project-detail-section:is(.pg-projectdetails *) .inner-column:is(.pg-projectdetails *) {
    text-align: center;
  }

  .project-detail-section:is(.pg-projectdetails *) .buttons-box:is(.pg-projectdetails *) {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .project-detail-section:is(.pg-projectdetails *) {
    padding: 40px 0;
  }

  .project-detail-section:is(.pg-projectdetails *) .buttons-box:is(.pg-projectdetails *) {
    flex-direction: column;
    align-items: center;
  }
}

/* ---- services ---- */

/* Ensure Flaticon font is applied correctly for services-page-section */
.services-page-section:is(.pg-services *) [class^="flaticon-"]:is(.pg-services *), .services-page-section:is(.pg-services *) [class*=" flaticon-"]:is(.pg-services *) {
    font-family: 'Flaticon' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Styling for icons in services-page-section (news-block-three) */
.services-page-section:is(.pg-services *) .news-block-three:is(.pg-services *) .icon-box:is(.pg-services *) {
    margin-bottom: 20px;
    text-align: center; /* Center icons to match typical static template styling */
}

.services-page-section:is(.pg-services *) .news-block-three:is(.pg-services *) .icon-box:is(.pg-services *) span:is(.pg-services *) {
    font-size: 60px; /* Set to match original layout (adjust to 50px or 70px if needed) */
    color: #333; /* Adjust to match your theme */
    display: inline-block;
    line-height: 1em;
    width: 80px; /* Ensure consistent icon container size */
    height: 80px;
    text-align: center;
    transition: all 0.3s ease; /* Smooth hover effect, optional */
}

/* Ensure style-two class doesn’t affect icon size */
.services-page-section:is(.pg-services *) .news-block-three.style-two:is(.pg-services *) .icon-box:is(.pg-services *) span:is(.pg-services *) {
    font-size: 60px; /* Consistent size for alternating blocks */
}

/* Optional: Hover effect to match theme */
.services-page-section:is(.pg-services *) .news-block-three:is(.pg-services *) .icon-box:is(.pg-services *) span:hover:is(.pg-services *) {
    color: #ff0015; /* Adjust to your theme’s hover color, optional */
}





.services-page-section:is(.pg-services *) .row:is(.pg-services *) {
  display: flex;
  flex-wrap: wrap;
}

.news-block-three:is(.pg-services *) {
  display: flex;
  flex-direction: column;
}

.news-block-three:is(.pg-services *) .inner-box:is(.pg-services *) {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
  background-color: #fff; /* Ensures a clean background for the block */
}

.news-block-three:is(.pg-services *) .inner-box:hover:is(.pg-services *) {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.news-block-three:is(.pg-services *) .lower-content:is(.pg-services *) {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background-color: #f8f8f8; /* Light background to make text area a distinct block */
  padding: 20px; /* Padding around the text block */
  border-top: 1px solid #e0e0e0; /* Subtle separator from image */
}

.news-block-three:is(.pg-services *) .content:is(.pg-services *) {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 15px; /* Spacing between elements (icon, title, text, link) */
}

.news-block-three:is(.pg-services *) .icon-box:is(.pg-services *) {
  margin-bottom: 10px; /* Space below icon */
}

.news-block-three:is(.pg-services *) h4:is(.pg-services *) {
  margin: 0;
  font-size: 1.25rem; /* Adjust as needed */
}

.news-block-three:is(.pg-services *) .text:is(.pg-services *) {
  margin: 0;
  font-size: 0.95rem; /* Adjust for readability */
  color: #555; /* Slightly muted for contrast */
  flex-grow: 1; /* Ensures text area stretches */
}

.news-block-three:is(.pg-services *) .read-more:is(.pg-services *) {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: #ce1126; /* Bootstrap primary color, adjust as needed */
  text-decoration: none;
  margin-top: 10px; /* Space above the link */
}

.news-block-three:is(.pg-services *) .read-more:hover:is(.pg-services *) {
  color: #141d38; /* Darker shade on hover */
  text-decoration: underline;
}

.news-block-three:is(.pg-services *) .read-more:is(.pg-services *) .arrow:is(.pg-services *) {
  margin-left: 5px;
  font-size: 0.8rem;
}

/* Ensure images are consistent */
.news-block-three:is(.pg-services *) .image:is(.pg-services *) img:is(.pg-services *) {
  width: 100%;
  height: 200px; /* Consistent image height */
  object-fit: cover; /* Ensures images fill space without distortion */
}





.services-page-section:is(.pg-services *) .row:is(.pg-services *) {
  display: flex;
  flex-wrap: wrap;
}

.news-block-three:is(.pg-services *) {
  display: flex;
  flex-direction: column;
}

.news-block-three:is(.pg-services *) .inner-box:is(.pg-services *) {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
  background-color: #fff; /* Ensures a clean background for the block */
}

.news-block-three:is(.pg-services *) .inner-box:hover:is(.pg-services *) {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.news-block-three:is(.pg-services *) .lower-content:is(.pg-services *) {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background-color: #f8f8f8; /* Light background to make text area a distinct block */
  padding: 20px; /* Padding around the text block */
  border-top: 1px solid #e0e0e0; /* Subtle separator from image */
}

.news-block-three:is(.pg-services *) .content:is(.pg-services *) {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 15px; /* Spacing between elements (icon, title, text, link) */
}

.news-block-three:is(.pg-services *) .icon-box:is(.pg-services *) {
  margin-bottom: 10px; /* Space below icon */
}

.news-block-three:is(.pg-services *) h4:is(.pg-services *) {
  margin: 0;
  font-size: 1.25rem; /* Adjust as needed */
}

.news-block-three:is(.pg-services *) .text:is(.pg-services *) {
  margin: 0;
  font-size: 0.95rem; /* Adjust for readability */
  color: #555; /* Slightly muted for contrast */
  flex-grow: 1; /* Ensures text area stretches */
}

.news-block-three:is(.pg-services *) .read-more:is(.pg-services *) {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: #ce1126; /* Bootstrap primary color, adjust as needed */
  text-decoration: none;
  margin-top: 10px; /* Space above the link */
}

.news-block-three:is(.pg-services *) .read-more:hover:is(.pg-services *) {
  color: #141d38; /* Darker shade on hover */
  text-decoration: underline;
}

.news-block-three:is(.pg-services *) .read-more:is(.pg-services *) .arrow:is(.pg-services *) {
  margin-left: 5px;
  font-size: 0.8rem;
}

/* Ensure images are consistent */
.news-block-three:is(.pg-services *) .image:is(.pg-services *) img:is(.pg-services *) {
  width: 100%;
  height: 200px; /* Consistent image height */
  object-fit: cover; /* Ensures images fill space without distortion */
}

/* ---- servicedetail ---- */

.service-detail-section:is(.pg-servicedetail *) {
    padding: 80px 0;
  }

  .service-detail-inner:is(.pg-servicedetail *) .content:is(.pg-servicedetail *) h3:is(.pg-servicedetail *) {
    font-size: 28px;
  }

  .benefit-list:is(.pg-servicedetail *) {
    list-style: none;
    padding: 0;
  }

  .benefit-list:is(.pg-servicedetail *) li:is(.pg-servicedetail *) {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
  }

  .benefit-list:is(.pg-servicedetail *) .icon:is(.pg-servicedetail *) {
    color: #ce1126;
    font-size: 16px;
    margin-top: 4px;
  }

  .benefit-list:is(.pg-servicedetail *) .benefit-text:is(.pg-servicedetail *) {
    color: #141d38;
  }

  .theme-btn.btn-style-two:is(.pg-servicedetail *) {
    background-color: #ce1126;
    color: #fff;
    border-radius: 6px;
    padding: 10px 22px;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .theme-btn.btn-style-two:hover:is(.pg-servicedetail *) {
    background-color: #141d38;
    color: #141d38;
  }

  @media (max-width: 991px) {
    .service-detail-section:is(.pg-servicedetail *) {
      padding: 50px 0;
    }
    .service-detail-inner:is(.pg-servicedetail *) .content:is(.pg-servicedetail *) h3:is(.pg-servicedetail *) {
      font-size: 24px;
    }
  }

/* ---- team ---- */

/* Section base */
.team-detail-section:is(.pg-team *) {
  padding: 100px 20px;
  background-color: #141d38;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Container */
.auto-container:is(.pg-team *) {
  max-width: 1200px;
  width: 100%;
}

/* Card Layout */
.team-card:is(.pg-team *) {
  background-color: #ffffff;
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.8s ease forwards;
}

/* Image Side */
.team-image:is(.pg-team *) {
  flex: 1 1 40%;
  background: #141d38;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-image:is(.pg-team *) img:is(.pg-team *) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info Side */
.team-info:is(.pg-team *) {
  flex: 1 1 60%;
  padding: 50px;
  background-color: #ffffff;
  color: #141d38;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Headings */
.team-info:is(.pg-team *) h2:is(.pg-team *) {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #141d38;
}

.team-info:is(.pg-team *) h4:is(.pg-team *) {
  font-size: 1.25rem;
  color: #ce1126;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Location */
.location:is(.pg-team *) {
  font-size: 0.95rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 25px;
}

.location:is(.pg-team *) i:is(.pg-team *) {
  color: #ce1126;
}

/* Bio text */
.bio:is(.pg-team *) {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;
}

/* Social Links */
.social-links:is(.pg-team *) {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.social-links:is(.pg-team *) li:is(.pg-team *) a:is(.pg-team *) {
  width: 40px;
  height: 40px;
  background-color: #141d38;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 16px;
}

.social-links:is(.pg-team *) li:is(.pg-team *) a:hover:is(.pg-team *) {
  background-color: #ce1126;
  transform: translateY(-3px);
}

/* Back Button */
.back-btn:is(.pg-team *) {
  display: inline-block;
  background-color: #ce1126;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-align: center;
  width: fit-content;
}

.back-btn:hover:is(.pg-team *) {
  background-color: #141d38;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .team-card:is(.pg-team *) {
    flex-direction: column;
  }
  .team-image:is(.pg-team *) {
    flex: 1 1 100%;
  }
  .team-info:is(.pg-team *) {
    padding: 30px 20px;
  }
  .team-info:is(.pg-team *) h2:is(.pg-team *) {
    font-size: 1.75rem;
  }
}

/* Simple Fade-in Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Home team cards are links now (crawlable, open in a new tab). Undo the theme's anchor styling. */
a.team-block:is(.pg-home *) {
  display: block;
  color: inherit;
}

/* ---- shared blocks for /ai, /cleancom and their home sections ---- */
/* Prefixed px- so they can't collide with theme classes. */

.px-section:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  position: relative;
  padding: 90px 0;
  background: #fff;
}
.px-section.px-alt:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  background: #f4f6fb;
}
.px-section.px-dark:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  background: #141d38;
  color: #c9cfe0;
}
.px-section .sec-title:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  margin-bottom: 40px;
}
.px-lead:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  color: #555c70;
  font-size: 18px;
  line-height: 1.8em;
  margin-bottom: 18px;
}
.px-dark .px-lead:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  color: #c9cfe0;
}
.px-grid:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.px-card:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  background: #fff;
  border: 1px solid #e3e7f0;
  border-radius: 8px;
  padding: 28px 26px;
  height: 100%;
}
.px-dark .px-card:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  background: #1c2747;
  border-color: #2b3863;
}
.px-card .px-icon:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  display: block;
  font-size: 40px;
  line-height: 1;
  color: #ce1126;
  margin-bottom: 18px;
}
.px-card h5:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  color: #141d38;
  font-weight: 700;
  margin-bottom: 10px;
}
.px-dark .px-card h5:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  color: #fff;
}
.px-card p:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  color: #555c70;
  font-size: 15px;
  line-height: 1.7em;
  margin: 0;
}
.px-dark .px-card p:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  color: #b5bdd3;
}
.px-num:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ce1126;
  margin-bottom: 8px;
}
.px-chips:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.px-chips li:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  background: #eef1f8;
  color: #141d38;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 15px;
}
.px-checks:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.px-checks li:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: #555c70;
  line-height: 1.7em;
}
.px-checks li:is(.pg-ai *, .pg-cleancom *, .pg-home *)::before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 1px;
  color: #ce1126;
}
.px-dark .px-checks li:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  color: #c9cfe0;
}
.px-checks strong:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  color: #141d38;
}
.px-dark .px-checks strong:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  color: #fff;
}

/* Five-layer platform stack on /ai */
.px-stack:is(.pg-ai *) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.px-layer:is(.pg-ai *) {
  display: grid;
  grid-template-columns: 56px 240px 1fr;
  align-items: center;
  gap: 18px;
  background: #1c2747;
  border: 1px solid #2b3863;
  border-left: 4px solid #ce1126;
  border-radius: 6px;
  padding: 16px 20px;
}
.px-layer .px-layer-no:is(.pg-ai *) {
  color: #ce1126;
  font-weight: 700;
  font-size: 22px;
}
.px-layer h6:is(.pg-ai *) {
  color: #fff;
  font-weight: 700;
  margin: 0;
}
.px-layer p:is(.pg-ai *) {
  color: #b5bdd3;
  margin: 0;
  font-size: 15px;
}
@media (max-width: 767px) {
  .px-layer:is(.pg-ai *) {
    grid-template-columns: 40px 1fr;
  }
  .px-layer p:is(.pg-ai *) {
    grid-column: 2;
  }
}

/* Agent pipeline on /ai */
.px-flow:is(.pg-ai *) {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.px-flow li:is(.pg-ai *) {
  counter-increment: step;
  background: #fff;
  border: 1px solid #e3e7f0;
  border-top: 3px solid #141d38;
  border-radius: 6px;
  padding: 20px;
  color: #555c70;
  font-size: 15px;
  line-height: 1.6em;
}
.px-flow li:is(.pg-ai *)::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  color: #ce1126;
  font-weight: 700;
  margin-bottom: 6px;
}
.px-flow li strong:is(.pg-ai *) {
  display: block;
  color: #141d38;
  margin-bottom: 4px;
}

/* Tables on /ai */
.px-table:is(.pg-ai *) {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.px-table th:is(.pg-ai *),
.px-table td:is(.pg-ai *) {
  text-align: left;
  vertical-align: top;
  padding: 16px 18px;
  border-bottom: 1px solid #e3e7f0;
  font-size: 15px;
  line-height: 1.6em;
  color: #555c70;
}
.px-table th:is(.pg-ai *) {
  background: #141d38;
  color: #fff;
  font-weight: 600;
}
.px-table td:first-child:is(.pg-ai *) {
  color: #141d38;
  font-weight: 600;
  width: 28%;
}
.px-table-wrap:is(.pg-ai *) {
  overflow-x: auto;
  border: 1px solid #e3e7f0;
  border-radius: 8px;
}

/* CleanCom product block */
.px-logo-card:is(.pg-cleancom *, .pg-home *) {
  background: #fff;
  border: 1px solid #e3e7f0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}
.px-logo-card img:is(.pg-cleancom *, .pg-home *) {
  max-width: 280px;
  width: 100%;
  height: auto;
}
.px-status:is(.pg-cleancom *, .pg-home *) {
  display: inline-block;
  background: #eaf3df;
  color: #4d6e22;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.px-cta:is(.pg-ai *, .pg-cleancom *) {
  background: #141d38;
  padding: 70px 0;
  text-align: center;
}
.px-cta h3:is(.pg-ai *, .pg-cleancom *) {
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.px-cta p:is(.pg-ai *, .pg-cleancom *) {
  color: #c9cfe0;
  max-width: 640px;
  margin: 0 auto 26px;
  font-size: 17px;
}
.px-small:is(.pg-ai *, .pg-cleancom *, .pg-home *) {
  font-size: 14px;
  color: #8a91a5;
}

/* Six-item grids: 2 then 3 columns, so no card sits alone on the last row. */
@media (min-width: 768px) {
  .px-grid-3:is(.pg-ai *, .pg-cleancom *) {
    grid-template-columns: repeat(2, 1fr);
  }
  .px-flow:is(.pg-ai *) {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .px-grid-3:is(.pg-ai *, .pg-cleancom *) {
    grid-template-columns: repeat(3, 1fr);
  }
  .px-flow:is(.pg-ai *) {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* The theme's .auto-container has no side padding, so give the new sections some below desktop width. */
@media (max-width: 1229px) {
  .px-section > .auto-container:is(.pg-ai *, .pg-cleancom *, .pg-home *),
  .px-cta > .auto-container:is(.pg-ai *, .pg-cleancom *) {
    padding: 0 20px;
  }
}

/* ---- site forms (components/forms) ---- */
/* Used on /contact, /cleancom and in the footer, so these are prefixed pf- instead of page-scoped. */

.pf-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.pf-error {
  display: block;
  margin-top: 6px;
  color: #ce1126;
  font-size: 14px;
  font-weight: 600;
}
.contact-form .error {
  border-color: #ce1126 !important;
}
.pf-banner {
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.6em;
}
.pf-banner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}
.pf-banner-ok {
  background: #eaf3df;
  color: #3d5a19;
}
.pf-banner-error {
  background: #fdecee;
  color: #9b0d1d;
}
.pf-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: #555c70;
  line-height: 1.5em;
  cursor: pointer;
}
.pf-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #ce1126;
}
.pf-check-light {
  margin-top: 12px;
  color: #c9cfe0;
  font-size: 13px;
}
.pf-footer-ok {
  color: #fff;
  font-weight: 600;
  padding: 14px 0;
}
.main-footer .pf-error {
  color: #ff8a96;
}
.pf-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.pf-fieldset legend {
  color: #555555;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.pf-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pf-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid #cccccc;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #141d38;
  cursor: pointer;
  background: #fff;
}
.pf-option input {
  accent-color: #ce1126;
}
.pf-option:has(input:checked) {
  border-color: #141d38;
  background: #eef1f8;
}
.pf-signup {
  background: #fff;
  border: 1px solid #e3e7f0;
  border-radius: 10px;
  padding: 30px;
}
.pf-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  border-bottom: 1px solid #e3e7f0;
}
.pf-tabs button {
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 10px 6px 12px;
  margin-right: 18px;
  font-weight: 700;
  font-size: 16px;
  color: #8a91a5;
  cursor: pointer;
}
.pf-tabs button[aria-selected="true"] {
  color: #141d38;
  border-bottom-color: #ce1126;
}
.pf-signup .contact-form .form-group {
  margin-bottom: 22px;
}
@media (max-width: 575px) {
  .pf-signup {
    padding: 20px 16px;
  }
  .pf-tabs button {
    font-size: 14px;
    margin-right: 8px;
  }
}

/* Text badge for profile links with no icon in Font Awesome 4 (Hugging Face). */
.social-links:is(.pg-team *) .social-text:is(.pg-team *) {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ---- privacy policy ---- */
.px-prose:is(.pg-privacy *) {
  max-width: 780px;
  color: #3d4459;
  font-size: 16px;
  line-height: 1.8em;
}
.px-prose:is(.pg-privacy *) h3 {
  color: #141d38;
  font-size: 22px;
  font-weight: 700;
  margin: 38px 0 12px;
}
.px-prose:is(.pg-privacy *) p {
  margin: 0 0 14px;
}
.px-prose:is(.pg-privacy *) ul {
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: disc;
}
.px-prose:is(.pg-privacy *) li {
  margin-bottom: 8px;
  /* The theme sets list-style: none on every li. */
  list-style: disc;
}
.px-prose:is(.pg-privacy *) a {
  color: #ce1126;
  text-decoration: underline;
}
.px-prose:is(.pg-privacy *) .px-updated {
  color: #8a91a5;
  font-size: 14px;
}
@media (max-width: 1229px) {
  .px-section > .auto-container:is(.pg-privacy *) {
    padding: 0 20px;
  }
}
.px-section:is(.pg-privacy *) {
  padding: 70px 0 90px;
  background: #fff;
}
/* Privacy line under each form */
.pf-privacy {
  font-size: 13px;
  color: #8a91a5;
  margin: 4px 0 0;
}
.pf-privacy a {
  color: inherit;
  text-decoration: underline;
}
.main-footer .pf-privacy {
  color: #9aa3bd;
}
