.elementor-kit-46{--e-global-color-primary:#DA251C;--e-global-color-secondary:#1A1A1A;--e-global-color-text:#8A8A87;--e-global-color-accent:#DA251C;--e-global-color-7f04b0a:#046A38;--e-global-color-7617f43:#000000;--e-global-color-c3eeaef:#FFFFFF;--e-global-color-2de7f1b:#007CBA;--e-global-color-c2bd054:#FFE900;--e-global-typography-primary-font-family:"Bai Jamjuree";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Bai Jamjuree";--e-global-typography-secondary-font-weight:500;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-size:1rem;--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;--e-global-typography-accent-font-style:italic;color:#333333;font-family:"Poppins", Sans-serif;font-weight:400;line-height:1.6rem;}.elementor-kit-46 e-page-transition{background-color:#FFBC7D;}.ha-scroll-to-top-wrap .ha-scroll-to-top-button{background-color:var( --e-global-color-accent );}.ha-scroll-to-top-wrap .ha-scroll-to-top-button:hover{background-color:var( --e-global-color-primary );}.elementor-kit-46 a{color:#DA251C;font-weight:500;font-style:normal;text-decoration:none;}.elementor-kit-46 a:hover{color:#007D3C;font-style:normal;text-decoration:none;}.elementor-kit-46 h1{font-size:2rem;font-weight:800;text-transform:uppercase;}.elementor-kit-46 h2{font-size:2.4rem;font-weight:500;font-style:normal;}.elementor-kit-46 h3{font-size:1.75rem;font-weight:500;}.elementor-kit-46 h4{font-size:1.375em;font-weight:500;}.elementor-kit-46 h5{font-size:1.125rem;font-weight:normal;}.elementor-kit-46 h6{font-size:1rem;font-weight:400;font-style:normal;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}.ha-scroll-to-top-button{left:15px;}.ha-scroll-to-top-wrap .ha-scroll-to-top-button i{color:var( --e-global-color-c3eeaef );}.ha-scroll-to-top-wrap .ha-scroll-to-top-button span{color:var( --e-global-color-c3eeaef );}.ha-scroll-to-top-wrap .ha-scroll-to-top-button:hover i{color:var( --e-global-color-c3eeaef );}.ha-scroll-to-top-wrap .ha-scroll-to-top-button:hover span{color:var( --e-global-color-c3eeaef );}@media(max-width:1024px){.elementor-kit-46 h3{font-size:2em;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}}@media(max-width:767px){.elementor-kit-46{font-size:13px;}.elementor-kit-46 h4{font-size:20px;}.elementor-kit-46 h5{font-size:1em;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}}
/* Start custom CSS */.rank-math-breadcrumb {
    font-size: 0.8rem !important;
}

.wpcode-shortcode {
  display: none;
}
.faq-schema {
  display: none;
}
.link-yellow { 
    color: #FFE900 !important;
    text-decoration: underline !important; }
.link-red { 
    color: #DA291C !important;
    text-decoration: underline !important; }
.link-blue { 
    color: #007cba !important;
    text-decoration: underline !important; }    

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-services-section {
  min-height: 50vh;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.main-header {
}

.main-header-title {
  font-size: clamp(2rem, 5vw + 1rem, 3rem); /* min 32px, fluid, max 48px */
  font-weight: 900;
  line-height: 1;
  text-shadow: 0.4375rem 0 0.625rem rgba(0, 0, 0, 0.98);
  color: #ffffff;
  text-transform: uppercase;
}

button-glow {
  box-shadow: 0 0 8px 3px rgba(255, 0, 0, 0.7);
  transition: box-shadow 0.3s ease-in-out;
}

button-glow:hover {
  box-shadow: 0 0 15px 6px rgba(255, 0, 0, 9);
}
        
/* ===== MOBILE FIX FOR HERO HEADING ===== */
@media (max-width: 768px) {
  width: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

/* Improve readability and fit */
.main-header-title {
  font-size: 1em;
  line-height: 1.2;
  white-space: normal;
}

/* Optional: ensure hero content stacks nicely */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 1rem;
  text-align: center;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  font-size: 0.8rem;
}

/* Main Content Section */
.section-main-content {
}

/* Intro Content Section */
.section-intro {
  text-align: center;
}

.page-title {
  font-size: 1.5rem;
  text-transform: uppercase;
  text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.25);
}

.section-subtitle {
  font-size: 1.25rem;
  color: #da251c;
  font-style: italic;
  margin-bottom: 0.9rem;
  border-left: 0.25rem solid #007cba; /* 4px */
  padding-left: 0.625rem; /* 10px */
  display: inline-block;
}

/* Content Sections */
.section-title {
  font-size: 1.5rem;
  text-transform: uppercase;
  text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.25);
}

/* Catchphrase */
.catchphrase {
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: linear-gradient(90deg, #DA291C, #ff4b3e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  padding: 0.5em 1em;
  opacity: 0; /* hidden until triggered */
}

.catchphrase.animate {
  animation: fadeInUp 1s ease-out forwards, pulseGlow 3s ease-in-out infinite 1s;
}

.catchphrase::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.15em;
  width: 100%;
  height: 6px;
  background-color: #DA291C;
  transform: scaleX(0);
}

.catchphrase.animate::after {
  animation: underlineSlide 1.5s ease-out forwards 0.5s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(218, 41, 28, 0.7);
  }
  50% {
    text-shadow: 0 0 20px rgba(218, 41, 28, 1);
  }
}

@keyframes underlineSlide {
  to {
    transform: scaleX(1);
  }
}

/* Industries Section */
.industries {
  color: white;
}

.industries .section-title {
  color: white;
}

.industries .section-subtitle {
  color: #ccc;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.industry-card {
  text-align: center;
  padding: 30px 20px;
  border: 2px solid #333;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(218, 41, 28, 0.2);
}

.industry-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.industry-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.industry-subtitle {
  font-size: 1rem;
  text-align: center;
  color: #DA291C;
  font-weight: 500;
  line-height: 1.5;
}

/* Term Search Section */
.section-term-search {
}

.term-search-container {
  background-color: #ffffff;
  padding: 2rem; /* more breathing space */
  margin-bottom: 2rem;
  border-radius: 0.75rem; /* slightly larger radius for modern look */
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.1); /* softer and deeper shadow */
  border: 1px solid #f0f0f0; /* subtle border for better edge definition */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.term-search-container:hover {
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
  transform: translateY(-2px); /* slight lift on hover for interactivity */
}

.search-wrapper {
  max-width: 37.5rem; /* 600px */
  margin: 0 auto;
  display: flex;
  gap: 0.9375rem; /* 15px */
  align-items: center;
}

#term-search {
  flex: 1;
  padding: 0.75rem 1.25rem; /* 12px 20px */
  border: 0.125rem solid #ddd; /* 2px */
  border-radius: 0.375rem; /* 6px */
  font-size: 1rem; /* 16px */
  outline: none;
  transition: border-color 0.3s ease;
}

#term-search:focus {
  border-color: #007cba;
}

#clear-search {
  background: #DA291C;
  color: white;
  border: none;
  padding: 0.75rem 1.25rem; /* 12px 20px */
  border-radius: 0.375rem; /* 6px */
  cursor: pointer;
  font-size: 0.875rem; /* 14px */
  transition: background 0.3s ease;
}

#clear-search:hover {
  background: #046A38;
}

.search-results-count {
  font-size: 0.875rem; /* 14px */
  color: #666;
  white-space: nowrap;
}

@media (max-width: 48rem) { /* 768px */
  .search-wrapper {
    flex-direction: column;
  }

  #term-search {
    width: 100%;
  }
}

/* Term Category Filter Section */
.category-filters {
  display: flex;
  justify-content: center;
  gap: 0.625rem; /* 10px */
  margin: 1.875rem 0; /* 30px */
  flex-wrap: wrap;
}

.filter-tab {
  background: white;
  border: 0.125rem solid #007cba; /* 2px */
  color: #007cba;
  padding: 0.625rem 1.25rem; /* 10px 20px */
  border-radius: 0.8rem;
  cursor: pointer;
  font-size: 0.875rem; /* 14px */
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
  background: #007cba;
  color: white;
}

@media (max-width: 48rem) { /* 768px */
  .category-filters {
    flex-direction: column;
    align-items: center;
  }

  .filter-tab {
    width: 12.5rem; /* 200px */
    text-align: center;
  }
}

/* Term Section */
.term-category-title {
  padding-bottom: 0.8rem;
  font-weight: 500;
}

/* Terminology Table Styling */
.terminology-table-container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 1.25rem;
}

.terminology-table {
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  overflow: hidden;
  background: white;
  box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.1);
}

.table-header {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 1.25rem;
  padding: 0.9375rem 1.25rem;
  background: #007cba;
  font-weight: bold;
  color: #fff;
  border-bottom: 0.125rem solid #dee2e6;
}

.term-item {
  border-bottom: 1px solid #eee;
}

.term-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 1.25rem;
  padding: 0.9375rem 1.25rem;
  align-items: center;
}

h4.term-name {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
}

.term-description {
  color: #555;
  line-height: 1.4;
}

.view-more-btn {
  background: #007cba;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.view-more-btn:hover {
  background: #005a87 !important;
}

.view-more-btn.active {
  background: #da251c !important;
}

.view-more-btn.focus {
  background: #007D3C !important;
}

.term-details {
  display: none;
  padding: 1.25rem;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

.term-details.expanded {
  display: block;
}

.detail-section {
  margin-bottom: 1.25rem;
}

.detail-section:last-child {
  margin-bottom: 0;
}

.detail-label {
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.detail-content {
  color: #555;
  line-height: 1.6;
}

.detail-content ul {
  margin: 0;
  padding-left: 1.25rem;
}

.detail-content li {
  margin-bottom: 0.3125rem;
}

.social-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: #e9ecef;
  padding: 0.25rem 0.5rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  color: #495057;
}

.no-terms-message {
  text-align: center;
  padding: 2.5rem;
  color: #666;
}

/* Related Services Styling */
.related-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-service-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
}

.related-service-item:last-child {
  margin-bottom: 0;
}

.service-icon {
  margin-right: 0.625rem;
  color: #007cba;
  font-size: 1rem;
}

.service-link {
  color: #007cba;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.service-link:hover {
  color: #005a87;
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 48rem) {
  .table-header,
  .term-row {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }

  .term-description {
    font-size: 0.875rem;
  }
}

.industries .section-title {
  color: white;
}

.industries .section-subtitle {
  color: #ccc;
}

.industry-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* Light section */
.light-section {
  color: #000000;
}

.light-section a {
  color: #0073e6;
}

/* Dark section */
.dark-section {
  color: #ffffff;
}

.dark-section a {
  color: #f9d949;
}

/* Text Colours */
.text-red {
  color: #DA291C !important;
}
.text-blue {
  color: #007cba !important;
}
.text-green {
  color: #046A38 !important;
}
.text-yellow {
  color: #FFF603 !important;
}
.text-white {
  color: #ffffff !important;
}
.text-black {
  color: #000000 !important;
}
.text-gray {
  color: #3F444B !important;
}
.text-light-gray {
  color: #d1d1d1 !important;
}

.footer-light-gray {
  color: #d1d1d1 !important;
  font-size: 0.8rem;
}

a:active {
  color: #da251c;
  text-decoration: none !important;
}

a:link {
  color: #da251c;
  font-weight: 500;
  text-decoration: none !important;
}

a:hover {
  color: #007d3c;
  font-weight: 550;
  text-decoration: none !important;
}

[type=submit]:focus, button:focus {
  background-color: #007D3C !important;
  color: #fff;
  text-decoration: none;
}

[type="submit"],
button {
  background-color: #da251c; /* Default state */
  color: #fff;
  text-decoration: none;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

/* Hover state */
[type="submit"]:hover,
button:hover {
  background-color: #007D3C;
  color: #fff;
}

/* Focus state */
[type="submit"]:focus,
button:focus {
  background-color: #007D3C;
  color: #fff;
}

/* Active state (while clicking) */
[type="submit"]:active,
button:active {
  background-color: #007D3C;
  color: #fff;
}

/* Custom Font Styling */
.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0.4375rem 0 0.625rem rgba(0, 0, 0, 0.98);
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Project Styling */
.meta-item {
	background: linear-gradient(135deg, #f8f9ff, #e8edff);
	padding: 15px;
	border-radius: 12px;
	border-left: 4px solid #007cba;
	transition: all 0.3s ease;
}

.meta-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
}

.meta-label {
	font-weight: 600;
	color: #007cba;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.meta-value {
	font-size: 1.1rem;
	font-weight: 500;
	color: #333;
	margin-top: 5px;
}

.project-title {
	font-size: 3rem;
	font-weight: 800;
	background: linear-gradient(135deg, #007cba, #1A2A3A   );
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: -1px;
}

.project-subtitle {
	font-size: 1.3rem;
	color: #666;
	margin-bottom: 20px;
	font-weight: 300;
}

.project-card-title {
	font-size: 1.8rem;
	font-weight: 700;
	color: #333;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.project-card-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #007cba, #1A2A3A);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.2rem;
}

.project-overview-text {
	font-size: 1.1rem;
	color: #555;
	line-height: 1.8;
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: 20px;
        }

.project-success-list {
	list-style: none;
        }

.project-success-item {
	background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
	margin-bottom: 15px;
	margin-right: 20px;
	padding: 20px;
	border-radius: 12px;
	border-left: 4px solid #4CAF50;
	transition: all 0.3s ease;
        }

.project-success-item:hover {
	transform: translateX(5px);
	box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
        }

.project-success-title {
	font-weight: 700;
	color: #2E7D32;
	font-size: 1.1rem;
	margin-bottom: 20px;
        }

.project-success-description {
	color: #555;
        }
        
.project-content-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	}

.project-content-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #667eea, #764ba2);
	border-radius: 20px 20px 0 0;
        }

.content-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.project-section-title {
	font-size: 2.2rem;
	font-weight: 700;
	color: #333;
	text-align: center;
	margin-bottom: 30px;
	position: relative;
        }

.project-section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, #007cba, #007cba);
	border-radius: 2px;
        }
        
.project-testimonial {
	background: linear-gradient(135deg, #f8f9ff, #e8edff);
	border-radius: 15px;
	padding: 30px;
	position: relative;
	margin-bottom: 40px;
	border: 1px solid #e0e7ff;
        }

.project-testimonial-text {
	font-size: 1.2rem;
	font-style: italic;
	color: #444;
	margin-bottom: 15px;
	position: relative;
	z-index: 1;
        }

.project-testimonial-author {
	font-weight: 600;
	color: #007cba;
	text-align: right;
        }

.project-social-section {
	text-align: center;
        }

.project-hashtags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
        }

.project-hashtag {
	background: linear-gradient(135deg, #667eea, #764ba2);
	color: white;
	padding: 8px 15px;
	border-radius: 25px;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
        }

.project-hashtag:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }
        
.project-subsection-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: #333;
	margin: 40px 0 25px 0;
	padding-bottom: 10px;
	border-bottom: 2px solid #e0e7ff;
	position: relative;
        }

.project-subsection-title::before {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 60px;
	height: 2px;
	background: linear-gradient(90deg, #667eea, #764ba2);
        }
		
.project-video-playlist {
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
        }

.project-playlist-item {
	background: linear-gradient(135deg, #f8f9ff, #e8edff);
	border-radius: 12px;
	padding: 15px;
	transition: all 0.3s ease;
	cursor: pointer;
	border: 1px solid #e0e7ff;
	display: flex;
	gap: 15px;
	align-items: center;
        }

.project-playlist-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
	border-color: #667eea;
        }

.project-playlist-thumbnail {
	width: 80px;
	height: 60px;
	background: linear-gradient(135deg, #667eea, #764ba2);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
        }

.project-playlist-thumbnail::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
	animation: shimmer 2s infinite;
        }

@keyframes shimmer {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(100%); }
        }

.project-play-icon {
	color: white;
	font-size: 1.2rem;
	z-index: 1;
        }

.project-playlist-info {
	flex: 1;
        }

.project-playlist-info h4 {
	font-size: 1.1rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 5px;
        }

.project-playlist-info p {
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 8px;
	line-height: 1.4;
        }

.project-video-duration {
	background: #667eea;
	color: white;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 0.8rem;
	font-weight: 500;
        }

.project-list-description {
            color: #555;
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 15px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
.project-list-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 15px;
        }

.project-list-tag {
            background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
            color: #007cba;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid #e0e7ff;
        }/* End custom CSS */