/* =============================================================================
   Compounding Solutions — site.css
   All site and page styles consolidated from individual PHP inline blocks.
   ============================================================================= */


/* =============================================================================
   SITE-WIDE (extracted from header.php)
   ============================================================================= */

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Typography */
body {
  font-family: Poppins, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: #888888;
}
h1 { font-weight: 700; font-size: 40px; line-height: 1.14; color: #080909; letter-spacing: 1px; }
h2 { font-weight: 500; font-size: 21px; line-height: 1.28; color: #2f326d; }
h3 { font-weight: 500; font-size: 30px; line-height: 1.28; color: #2f326d; }
h4 { font-weight: 500; font-size: 18px; line-height: 1.63; color: #2f326d; }
h5 { font-weight: 500; font-size: 17px; line-height: 1.58; color: #252525; }
h6 { font-weight: 500; font-size: 17px; line-height: 1.58; color: #000000; }
a, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover { color: white; }
a:hover { color: #ffae00; }
@media (min-width: 992px) {
  h1 { font-size: 80px; }
  h2 { font-size: 42px; }
  h3 { font-size: 42px; }
  h4 { font-size: 22px; }
}
@media (min-width: 1200px) {
  .container { max-width: 1404px; }
}

/* Page wrapper */
#page { width: 100%; }

/* Header outer shell */
#masthead { background: #ffffff; width: 100%; }

/* White logo+pellet area */
.header-container { overflow: hidden; width: 100%; }
.header-container_wrap {
  position: relative;
  width: 100%;
  min-height: 120px;
  overflow: hidden.;
}

/* Flex row: logo on left, Home link on right */
.header-container__flex {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  min-height: 120px;
}

/* Yellow pellet — top-right corner */
.header-top-img {
  position: absolute;
  top: -20;
  right: 0;
  width: 50%;
  z-index: 15;
  pointer-events: none;
}
.header-mid-img {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  pointer-events: none;
}

/* Logo + Home link row */
.header-top-section {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  width: 100%;
  padding-bottom: 10px;
  position: relative;
  z-index: 20;
}
.header-top-logo {
  width: 200px;
  height: auto;
  display: block;
  margin-top: -25px;
}
.top-menu-custom {
  display: flex;
  gap: 30px;
  color: #2f326d;
  font-weight: 400;
  align-items: flex-end;
  margin-left: auto;
  margin-right: 20px;
  position: relative;
  z-index: 20;
}
.top-menu-item > a { color: #2f326d !important; text-decoration: none; }
.top-menu-item > a:hover { color: #d80000 !important; }

/* Menu banner — bottom-left of logo area */
.header-bottom-img {
  position: absolute;
  bottom: -100px;
  left: 0;
  z-index: 30;
  pointer-events: none;
}

/* Nav bar — dark blue strip below logo area */
.site-header.centered .main-navigation {
  background: #2f326d;
  max-width: 1353px;
  margin: 0 auto;
  display: block;
  z-index: 30;
}
.header-container_wrap { min-height: 400x; }
.header-container__flex { min-height: 420px; }
.main-navigation .menu > li > a { color: #ffffff; }
.main-navigation .menu > li > a:hover,
.main-navigation .menu > li > a.cs-nav-current { color: #ffae00; }
ul.sub-menu { background: #2c3684 !important; }
.main-navigation .sub-menu > li > a { color: #ffffff; }
.main-navigation .sub-menu > li > a:hover,
.main-navigation .sub-menu > li > a.cs-nav-current { color: #ffae00; }
.main-navigation a:after { background: #ffae00 !important; }
.menu-item::before { display: none; }
.menu-toggle { color: #ffffff; }
.menu-toggle:hover { color: #ffae00; }

/* Footer */
.site-footer { background-color: #2c3684; }
.footer-area-wrap { display: none; }
.footer-container { position: relative; align-items: flex-end; min-width: 400px; }
.site-footer.default .footer-container { border-top: none !important; margin-top: 20px; }
.site-info { position: relative; width: 100%; }
.site-info-wrapper {
  justify-content: center !important;
  align-items: center;
  column-gap: 30px;
  line-height: .5 !important;
}
.site-info__bottom { margin: 0 !important; }
.linked-in-img { width: 25px; }
.footer-menu { width: auto; display: inline; font-size: 14px !important; }
.footer-menu__items { gap: 30px; align-items: center; margin: 0; }
.footer-menu__items .menu-item { margin: 0; }
#menu-footer-menu-custom li a { color: white; }
#menu-footer-menu-custom li a:hover { color: #ffae00; }
.linked-in-logo { display: flex; justify-content: center; margin: 0; }
.site-info a:hover { color: #ffae00 !important; }
.footer-copyright { color: #aaa; font-size: 12px; }

/* Invert scheme */
.invert, .invert h1, .invert h2, .invert h3,
.invert h4, .invert h5, .invert h6, .invert a { color: #ffffff; }
.invert a:hover { color: #ffae00; }

/* Mobile nav */
@media (max-width: 767px) {
  .header-top-img { width: 40%; }
  .top-menu-custom { font-size: 14px; gap: 15px; }
  .site-header.centered .main-navigation .menu { margin-top: 0 !important; }
  .main-navigation a { padding-left: 1em !important; }
  .sub-menu > li > a { padding: 0 0 0 1em !important; }
  .main-navigation .menu > li .sub-menu-toggle { height: 35px; width: 100%; background: none; }
  .main-navigation .menu > li .sub-menu-toggle:before {
    margin: auto; left: unset;
    right: 0 !important; top: 0 !important;
    bottom: 0 !important; height: fit-content !important;
  }
  .footer-menu__items { font-size: 11px !important; gap: 15px !important; }
}
@media (min-width: 767px) {
  .main-navigation ul ul a { color: #ffffff; }
}
@media (max-width: 500px) {
  .site-content_wrap, .footer-container { padding-left: 0; padding-right: 0; }
  .site-header.centered .main-navigation .menu { width: 100vw !important; }
  .header-top-img { width: 60%; }
}


/* =============================================================================
   PAGE TRANSITION (extracted from header.php)
   ============================================================================= */

#pageTransitionOverlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(135deg, #2c3684 0%, #1a2050 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
#pageTransitionOverlay.is-exited { opacity: 0; }
.pt-pellets { display: flex; gap: 10px; }
.pt-pellets span {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #ffae00;
  animation: ptBounce 0.9s ease-in-out infinite;
}
.pt-pellets span:nth-child(2) { background: #ffffff; animation-delay: 0.15s; }
.pt-pellets span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ptBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.6; }
  40%           { transform: translateY(-10px); opacity: 1; }
}


/* =============================================================================
   BACK TO TOP (extracted from footer.php)
   ============================================================================= */

#toTop {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  background: #ffae00;
  color: #fff;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  border-radius: 4px;
  z-index: 999;
  transition: background 0.2s;
}
#toTop:hover { background: #e09b00; }
#toTop:before { content: '\2191'; }


/* =============================================================================
   SHARED PRODUCT LAYOUT (extracted from _product_styles.php)
   ============================================================================= */

.product-page-wrap {
  max-width: 1000px;
  margin: 30px auto 60px;
  padding: 0 20px;
}
.product-page-wrap h2 {
  font-size: 28px;
  color: #2c3684;
  margin-bottom: 24px;
  font-weight: 600;
}

/* Full-width stacked banner images */
.product-banners { display: flex; flex-direction: column; gap: 0; width: 100%; margin-bottom: 30px; }
.product-banners img { width: 100%; height: auto; display: block; }

/* Single banner + side-by-side content */
.product-content-wrap { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; margin-bottom: 30px; }
.product-content-img { flex: 1 1 340px; max-width: 480px; }
.product-content-img img { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 2px 12px rgba(0,0,0,0.10); }
.product-content-text { flex: 1 1 300px; }
.product-content-text h3 { font-size: 22px; color: #2c3684; margin-bottom: 12px; font-weight: 600; }
.product-content-text p { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 12px; }
.product-content-text ul { padding-left: 20px; color: #555; font-size: 15px; line-height: 1.9; }

/* Feature badge bar */
.product-features { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.product-feature-badge {
  background: #2c3684;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: Poppins, sans-serif;
}

/* PDF download buttons */
.product-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}
.product-dl-btn {
  display: inline-block;
  background: #2c3684;
  color: #fff;
  padding: 11px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  font-family: Poppins, sans-serif;
  transition: background 0.2s;
}
.product-dl-btn:hover { background: #d80000; color: #fff; }
.product-dl-btn--quote { background: #ffae00; }
.product-dl-btn--quote:hover { background: #2c3684; }

/* Logo header row */
.product-logo-header { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.product-logo-header img { max-height: 80px; width: auto; }

/* Fading hover image */
.fading-img-wrap { position: relative; display: inline-block; }
.fading-img-wrap img.fading-top {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.4s;
}
.fading-img-wrap:hover img.fading-top { opacity: 0; }

@media (max-width: 767px) {
  .product-content-img { max-width: 100%; }
  .product-downloads { flex-direction: column; }
  .product-dl-btn { text-align: center; }
}


/* =============================================================================
   SHARED LEGAL / INFO LAYOUT
   Consolidated from: disclaimer, colormatching, customcompounding,
   medicalcompounding, exmedcolorselector, privacypolicy, termsofuse
   ============================================================================= */

.legal-wrap {
  margin: 40px 0 60px;
  padding: 0 20px;
  overflow: hidden;
}
.legal-wrap p {
  font-size: 15px;
  line-height: 1.85;
  color: #555;
  margin: 0 0 16px;
}
.legal-wrap p em { color: #2c3684; }
.legal-wrap li { font-size: 15px; line-height: 1.85; color: #555; }
.legal-wrap h4 { margin: 28px 0 10px; }
.legal-wrap ul { margin: 0 0 16px; padding-left: 20px; }
.legal-wrap ul ul { margin: 4px 0 4px; }

/* Full-width block image (exmedcolorselector) */
.legal-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 4px;
}
/* Colormatching: float-right featured image */
.page-colormatching .legal-wrap img {
  float: right;
  display: inline;
  max-width: 320px;
  margin: 0 0 16px 24px;
}
@media (max-width: 600px) {
  .page-colormatching .legal-wrap img {
    float: none;
    display: block;
    max-width: 100%;
    margin: 0 0 16px;
  }
}

/* Float helpers (customcompounding, medicalcompounding) */
.legal-wrap img.float-right {
  float: right;
  display: inline;
  max-width: 20%;
  margin: 0 0 16px 20px;
}
.legal-wrap img.float-left {
  float: left;
  display: inline;
  max-width: 20%;
  margin: 0 20px 16px 0;
}
@media (max-width: 600px) {
  .legal-wrap img.float-right,
  .legal-wrap img.float-left {
    float: none;
    display: block;
    max-width: 100%;
    margin: 0 0 16px;
  }
}

.legal-wrap .disclaimer-note { font-size: 13px; color: #888; }

/* Colormatching CTA button */
.legal-wrap .btn-primary {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 28px;
  background: #ffae00;
  color: #fff;
  border: 2px solid #ffae00;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 500;
}
.legal-wrap .btn-primary:hover { background: transparent; color: #ffae00; }

/* Quote CTA row */
.legal-wrap .quote-cta { display: flex; align-items: center; gap: 15px; margin-top: 20px; clear: both; }
.legal-wrap .quote-cta img { width: 60px; flex-shrink: 0; }

/* Two-column list (privacypolicy) */
.legal-wrap .two-col-list { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 16px; }
.legal-wrap .two-col-list > div { flex: 1 1 280px; }
.legal-wrap .two-col-list strong { color: #2c3684; }
@media (max-width: 600px) {
  .legal-wrap .two-col-list { flex-direction: column; gap: 8px; }
}


/* =============================================================================
   HOME PAGE (extracted from index.php)
   ============================================================================= */

/* Hero Slider */
.cs-slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
  max-height: 500px;
}
.cs-slider { display: flex; transition: transform 0.6s ease; will-change: transform; }
.cs-slide { min-width: 100%; position: relative; }
.cs-slide img { width: 100%; height: 500px; object-fit: contain; display: block; }
.cs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13,8,8,0.5);
  color: #fff;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.cs-arrow:hover { background: rgba(13,8,8,0.85); }
.cs-prev { left: 15px; }
.cs-next { right: 15px; }
.cs-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.cs-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cs-dot.active { background: #fff; }

/* Sections */
.cs-section { width: 100%; }
.section-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}
.section-item {
  width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-item > p { padding: 5px 5px 20px; }
.section-img {
  border-radius: 50%;
  height: 175px;
  width: 175px;
  object-fit: cover;
  background: white;
}

/* Product Highlights Grid */
.product-highlights-grid {
  display: flex;
  flex-wrap: nowrap;
  background: #2b2d62;
  width: 100%;
}
.product-item {
  flex: 1;
  font-size: 12px;
  font-weight: 300;
  color: white;
  text-align: center;
  padding: 0 0 15px;
}
.product-img-container {
  height: 260px;
  width: 100%;
  padding: 15px;
  background: #2f326d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.product-img-container img { max-height: 230px; max-width: 100%; object-fit: contain; }

@media (max-width: 767px) {
  .cs-slide img { height: 200px; }
  .cs-slider-wrap { max-height: 200px; }
  .section-items { flex-direction: column; align-items: center; }
  .product-highlights-grid { flex-direction: column; }
}


/* =============================================================================
   PRODUCTS PAGE (extracted from products.php)
   ============================================================================= */

.products-intro {
  text-align: center;
  max-width: 800px;
  margin: 30px auto 10px;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}
.products-intro hr { border: none; border-top: 1px solid #ddd; margin: 20px auto; width: 80%; }

#dynamicImageContainer {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
  user-select: none;
}
#dynamicImageBase { width: 100%; height: auto; display: block; }

.dynamicImageChild {
  position: absolute;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.dynamicImageChild:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 8px rgba(44,54,132,0.6));
  z-index: 10;
}
.dynamicImageChild img { width: 100%; height: auto; display: block; }

#stabalizeSnippet   { left: 8.4%;  top: 59.1%; width: 19.25%; }
#defendrxSnippet    { left: 84.8%; top: 75.5%; width: 17.16%; }
#masterMarkSnippet  { left: 64%;   top: 84.1%; width: 17.76%; }
#mobilizeSnippet    { left: 30.3%; top: 60%;   width: 22.92%; }
#purtoneSnippet     { left: 49.1%; top: 69.6%; width: 17.26%; }
#rezalloySnippet    { left: 67.5%; top: 22.5%; width: 19.05%; }
#rezilientrxSnippet { left: 73.9%; top: 39.5%; width: 19.44%; }
#rezilokSnippet     { left: 2%;    top: 20.6%; width: 17.16%; }
#roSeriesSnippet    { left: 48.6%; top: 8.2%;  width: 15.18%; }

.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 50px;
}
.product-card {
  width: 170px;
  text-align: center;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 18px 12px;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: #2c3684;
  font-weight: 500;
  font-size: 14px;
}
.product-card:hover { box-shadow: 0 4px 18px rgba(44,54,132,0.18); color: #d80000; }
.product-card img {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 700px) {
  #dynamicImageContainer { display: none; }
  .products-grid { display: flex; }
}
@media (min-width: 701px) {
  .products-grid { display: none; }
}


/* =============================================================================
   SERVICES PAGE (extracted from services.php)
   ============================================================================= */

.services-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
  max-height: 480px;
}
.services-slider { display: flex; transition: transform 0.6s ease; will-change: transform; }
.services-slide { min-width: 100%; position: relative; height: 480px; cursor: pointer; }
.services-slide img { width: 100%; height: 480px; object-fit: contain; background: #fff; display: block; }
.services-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.services-arrow:hover { background: rgba(44,54,132,0.85); }
.services-prev { left: 15px; }
.services-next { right: 15px; }
.services-dots { position: absolute; bottom: 12px; right: 20px; display: flex; gap: 8px; z-index: 10; }
.services-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.services-dot.active { background: #ffae00; }

.services-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 30px 20px 10px;
  max-width: 1100px;
  margin: 0 auto;
}
.services-nav a {
  background: #2c3684;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.services-nav a:hover { background: #d80000; color: #fff; }

.services-content { max-width: 1100px; margin: 0 auto; padding: 20px 20px 60px; }
.service-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}
.service-section:last-child { border-bottom: none; }
.service-section.reverse { flex-direction: row-reverse; }
.service-section-img { flex: 1 1 340px; max-width: 480px; }
.service-section-img img { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 3px 14px rgba(0,0,0,0.12); }
.service-section-text { flex: 1 1 300px; }
.service-section-text h3 { color: #2c3684; font-size: 26px; margin-bottom: 14px; }
.service-section-text p { color: #555; font-size: 15px; line-height: 1.75; margin-bottom: 12px; }
.service-cta {
  display: inline-block;
  margin-top: 10px;
  background: #ffae00;
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}
.service-cta:hover { background: #2c3684; color: #fff; }

@media (max-width: 767px) {
  .services-slide, .services-slide img { height: 220px; }
  .services-hero { max-height: 220px; }
  .service-section, .service-section.reverse { flex-direction: column; }
  .service-section-img { max-width: 100%; }
}


/* =============================================================================
   MARKETS PAGE (extracted from markets.php)
   ============================================================================= */

.markets-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
  max-height: 600px;
}
.markets-slider { display: flex; transition: transform 0.6s ease; will-change: transform; }
.markets-slide { min-width: 100%; position: relative; height: 600px; }
.markets-slide img { width: 100%; height: 600px; object-fit: contain; background: #fff; display: block; }
.markets-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.markets-arrow:hover { background: rgba(44,54,132,0.85); }
.markets-prev { left: 15px; }
.markets-next { right: 15px; }
.markets-dots { position: absolute; bottom: 12px; right: 20px; display: flex; gap: 8px; z-index: 10; }
.markets-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.markets-dot.active { background: #ffae00; }

.markets-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.market-tile {
  width: 180px;
  text-align: center;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
  transition: box-shadow 0.2s, transform 0.2s;
  background: #fff;
  text-decoration: none;
  color: #2c3684;
  font-family: Poppins, sans-serif;
  font-weight: 500;
  font-size: 14px;
}
.market-tile:hover { box-shadow: 0 6px 22px rgba(44,54,132,0.22); transform: translateY(-3px); color: #d80000; }
.market-tile img { width: 100%; height: 120px; object-fit: contain; background: #fff; display: block; }
.market-tile-label { padding: 10px 8px 12px; }

@media (max-width: 767px) {
  .markets-slide, .markets-slide img { height: 260px; }
  .markets-hero { max-height: 260px; }
  .market-tile { width: 145px; }
}


/* =============================================================================
   HISTORY PAGE (extracted from history.php)
   ============================================================================= */

#history-header {
  position: relative;
  display: flex;
  height: 420px;
  font-size: 12px;
  margin: 20px auto;
  max-width: 775px;
}
#history-header p { margin: 5px 0; }
#history-header-image { position: absolute; height: 380px; left: 20px; top: 20px; }
#header-text-bold { font-weight: bold; }
#history-header-text {
  height: 380px;
  padding: 20px 20px 20px 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
  text-align-last: center;
  color: white;
  background: rgb(157, 151, 183);
  width: 100%;
}

#history-timeline {
  background: center / contain no-repeat url("../images/Timeline.png");
  height: 900px;
  margin: -60px auto 0 auto;
  background-position: calc(50% - 4px) top;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 360px;
  justify-content: center;
}
#history-timeline p { margin: 0; width: fit-content !important; }

.history-timeline-col {
  margin-top: 75px;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 50%;
  padding: 0 10px;
  max-width: 282px;
}

#history-timeline-col-1 { align-items: flex-end; }
#history-timeline-col-1 .timeline-item { margin-right: 49px; }
#history-timeline-col-2 .timeline-item { margin-left: 49px; }

#history-timeline-col-1 > .timeline-item:nth-child(2) { margin-top: 75px; }
#history-timeline-col-1 > .timeline-item:nth-child(3) { margin-top: 121px; flex-direction: column; }
#history-timeline-col-1 > .timeline-item:nth-child(3) > .timeline-image { justify-content: center; }
#history-timeline-col-1 > .timeline-item:nth-child(4) { margin-top: 60px; }
#history-timeline-col-1 > .timeline-item:nth-child(5) { margin-top: 91px; }
#history-timeline-col-1 > .timeline-item:nth-child(6) { margin-top: 65px; }
#history-timeline-col-1 > .timeline-item:nth-child(7) { margin-top: 80px; }

#history-timeline-col-2 > .timeline-item:nth-child(1) { margin-top: 96px; justify-content: left; }
#history-timeline-col-2 > .timeline-item:nth-child(2) { margin-top: 68px; }
#history-timeline-col-2 > .timeline-item:nth-child(3) { margin-top: 73px; flex-direction: column; }
#history-timeline-col-2 > .timeline-item:nth-child(4) { margin-top: 55px; }
#history-timeline-col-2 > .timeline-item:nth-child(5) { margin-top: 64px; }
#history-timeline-col-2 > .timeline-item:nth-child(6) { margin-top: 43px; }
#history-timeline-col-2 { align-items: flex-start; }

.timeline-item {
  position: relative;
  display: flex;
  gap: 5px;
  font-size: 12px;
  font-weight: bold;
  color: #2f326d;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.timeline-hover { cursor: pointer; }
.timeline-item > img { object-fit: contain; min-width: 100%; }

.timeline-item-popup {
  background: rgb(157, 151, 183);
  color: white;
  position: absolute;
  font-size: 10px;
  font-weight: normal;
  width: 200px;
  text-align: center;
  padding: 5px;
  opacity: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  height: fit-content;
  z-index: 99;
  pointer-events: none;
  transition: opacity 0.3s;
}
.timeline-item-popup.active { animation: fade-in 0.5s forwards; }
#history-timeline span { color: #055C9D; }
#history-timeline-col-1 .timeline-item-popup { right: 165px; }
#history-timeline-col-2 .timeline-item-popup { left: 165px; }

.timeline-image { display: flex; position: relative; }
.timeline-image > img { width: 100%; object-fit: contain; }
.timeline-blank { display: flex; }

@keyframes fade-in {
  0%   { opacity: 0; transform: scale(0); }
  100% { opacity: 1; transform: scale(1); }
}

#history-bottom {
  display: flex;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  color: #2f326d;
  margin-top: 30px;
  padding-bottom: 50px;
}
#history-bottom p { margin: 2px; }
.history-bottom-text { padding: 15px 0; }
.history-bottom-col { display: flex; flex-direction: column; align-items: center; }
#history-bottom-col-1 { padding-top: 15px; width: 240px; }
#history-bottom-col-2 { justify-content: center; width: 230px; }
#history-bottom-col-3 { padding-top: 15px; width: 240px; }

@media screen and (max-width: 992px) {
  #history-header-text { font-size: 10px !important; padding: 20px 20px 20px 300px; }
  #history-header-image { height: 340px; }
  #history-timeline-col-1 .timeline-item-popup { right: 0; margin-bottom: -50px; }
  #history-timeline-col-2 .timeline-item-popup { left: 0; margin-bottom: -50px; }
}
@media screen and (max-width: 767px) {
  #history-header {
    flex-direction: column; height: auto; margin: auto;
    justify-content: center; align-items: center;
    width: 360px; background: rgb(157, 151, 183);
  }
  #history-header-image { position: relative; margin: auto; top: 15px; left: 0; }
  #history-header-text { width: 360px; margin: auto; padding: 15px; }
  #history-timeline { margin-top: 0; }
  .timeline-item-right > .timeline-image > .timeline-item-popup { left: 36px; }
  .timeline-item-left  > .timeline-image > .timeline-item-popup { right: 36px; }
  #history-bottom { flex-direction: column; align-items: center; }
  .history-bottom-col { margin-bottom: 20px; }
}
@media screen and (max-width: 500px) {
  #history-timeline-col-1 .timeline-item { margin-right: 0; }
  #history-timeline-col-2 .timeline-item { margin-left: 0; }
}


/* =============================================================================
   EVENTS PAGE (extracted from events.php)
   ============================================================================= */

.events-wrap { max-width: 860px; margin: 40px auto 60px; padding: 0 20px; }
.events-wrap h2 { margin-bottom: 20px; }
.events-wrap hr { border: none; border-top: 2px solid #eee; margin: 20px 0 30px; }
.events-banner { text-align: center; margin-bottom: 30px; }
.events-banner img { max-width: 85%; height: auto; display: inline-block; border-radius: 4px; }
.events-list { display: flex; flex-direction: column; gap: 14px; }
.event-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f7f8ff;
  border-left: 4px solid #2c3684;
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  transition: box-shadow 0.2s;
}
.event-card:hover { box-shadow: 0 3px 14px rgba(44,54,132,0.12); }
.event-date-badge {
  background: #2c3684;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  padding: 8px 14px;
  border-radius: 4px;
  white-space: nowrap;
  min-width: 90px;
  line-height: 1.4;
}
.event-info h4 { font-size: 16px; font-weight: 600; color: #2c3684; margin: 0 0 2px; }
.event-info p { font-size: 13px; color: #888; margin: 0; }
.events-cta { margin-top: 36px; padding: 20px 24px; background: #f0f3ff; border-radius: 6px; font-size: 14px; color: #444; line-height: 1.7; }
.events-cta a { color: #d80000; font-weight: 500; }
.events-cta a:hover { color: #ffae00; }

@media (max-width: 500px) {
  .event-card { flex-direction: column; align-items: flex-start; }
  .event-date-badge { min-width: auto; }
  .events-banner img { max-width: 100%; }
}


/* =============================================================================
   MOBILIZE PAGE (extracted from mobilize.php)
   ============================================================================= */

.mobilize-wrap { max-width: 1353px; margin: 30px auto 60px; padding: 0; }
.mobilize-wrap h2 { font-size: 28px; color: #2c3684; margin-bottom: 16px; font-weight: 600; }
.mobilize-wrap table { width: 100% !important; border-collapse: collapse; }
.mobilize-wrap td { vertical-align: top; }
.mobilize-wrap .boxed { border-color: #2c3684; border-radius: 4px; }
.mobilize-wrap .btn-primary { background: #2c3684; color: #fff; border-color: #2c3684; border-radius: 4px; transition: background 0.2s; }
.mobilize-wrap .btn-primary:hover { background: #ffae00; border-color: #ffae00; color: #fff; }
.mobilize-wrap video { max-width: 100%; border-radius: 4px; box-shadow: 0 2px 12px rgba(0,0,0,0.10); }

@media (max-width: 900px) {
  .mobilize-wrap table, .mobilize-wrap table tr, .mobilize-wrap table td {
    display: block; width: 100% !important;
  }
  .mobilize-wrap td[style*="padding-right"] { padding-right: 0 !important; }
  .mobilize-wrap .alignright { float: none; display: block; margin: 0 auto 15px; }
}


/* =============================================================================
   REZALLOY PAGE (extracted from rezalloy.php)
   ============================================================================= */

.rezalloy-banner-wrap { position: relative; width: 100%; }
.rezalloy-btn-row { position: absolute; width: 55%; display: flex; }
.rezalloy-btn-row a { flex: 1; display: block; transition: transform 0.2s ease; }
.rezalloy-btn-row a:hover { transform: scale(1.1); z-index: 5; }
.rezalloy-btn-row img { width: 100%; height: auto; display: block; }
#rezalloyRow1100 { top: 65%; left: 25%; }
#rezalloyRow1200 { top: 82%; left: 25%; }


/* =============================================================================
   REZILIENT PAGE (extracted from rezilient.php)
   ============================================================================= */

.rezilient-wrap { max-width: 1100px; margin: 30px auto 60px; padding: 0 20px; }
.rezilient-wrap table { width: 100%; border-collapse: collapse; }
.rezilient-wrap td { vertical-align: top; padding-bottom: 16px; }
.rezilient-wrap .boxed { border-color: #2c3684; border-radius: 4px; }
.rezilient-wrap .btn-primary { background: #2c3684; color: #fff; border-color: #2c3684; border-radius: 4px; transition: background 0.2s; }
.rezilient-wrap .btn-primary:hover { background: #ffae00; border-color: #ffae00; color: #fff; }
.rezilient-flex { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 20px; }
.rezilient-flex-text { flex: 1 1 auto; min-width: 0; }
.rezilient-flex-text > p:first-child { margin-top: 0; }
.rezilient-flex-img { flex: 0 0 340px; }
.rezilient-flex-img img { width: 100%; height: auto; display: block; border-radius: 4px; }
.rezilient-wrap ul { list-style: none; padding-left: 0; color: #555; font-size: 15px; line-height: 1.8; }
.rezilient-wrap ul li { margin-bottom: 14px; padding-left: 18px; border-left: 3px solid #e0e4f5; }
.rezilient-wrap ul li strong { color: #2c3684; }

@media (max-width: 700px) {
  .rezilient-wrap table, .rezilient-wrap table tr, .rezilient-wrap table td {
    display: block; width: 100% !important;
  }
  .rezilient-wrap td[style*="padding-left"] { padding-left: 0 !important; }
  .rezilient-flex { flex-direction: column; }
  .rezilient-flex-img { flex-basis: auto; max-width: 100%; margin: 0 auto; }
}


/* =============================================================================
   REZILOK PAGE (extracted from rezilok.php)
   ============================================================================= */

.rezilok-wrap { max-width: 1100px; margin: 30px auto 60px; padding: 0 20px; }
.rezilok-wrap table { width: 100%; border-collapse: collapse; }
.rezilok-wrap td { vertical-align: top; }
.rezilok-wrap h3 { font-size: 24px; color: #2c3684; margin-bottom: 6px; }
.rezilok-wrap .boxed { border-color: #2c3684; border-radius: 4px; }
.rezilok-wrap .btn-primary { background: #2c3684; color: #fff; border-color: #2c3684; border-radius: 4px; transition: background 0.2s; }
.rezilok-wrap .btn-primary:hover { background: #ffae00; border-color: #ffae00; color: #fff; }
.rezilok-wrap ul { color: #555; font-size: 15px; line-height: 1.8; }

@media (max-width: 700px) {
  .rezilok-wrap table, .rezilok-wrap table tr, .rezilok-wrap table td {
    display: block; width: 100% !important;
  }
  .rezilok-wrap td[style*="padding-left"] { padding-left: 0 !important; }
}


/* =============================================================================
   DEFEND RX PAGE (extracted from defendrx.php)
   ============================================================================= */

.defend-banner-wrap { position: relative; width: 100%; }
.defend-btn-overlay { position: absolute; display: block; transition: transform 0.2s ease; }
.defend-btn-overlay:hover { transform: scale(1.1); z-index: 5; }
.defend-btn-overlay img { width: 100%; height: auto; display: block; }
#defendBrochureBtn   { left: 62%;   top: 74%; width: 33%; }
#defendProcessingBtn { left: 33.5%; top: 76%; width: 33%; }


/* =============================================================================
   VESTAKEEP PAGE (extracted from vestakeep.php)
   ============================================================================= */

.vestakeep-wrap { max-width: 1100px; margin: 30px auto 60px; padding: 0 20px; }
.vestakeep-wrap h2 { font-size: 28px; color: #2c3684; margin-bottom: 4px; }
.vestakeep-wrap h3 { font-size: 22px; color: #2c3684; margin: 24px 0 6px; }
.vestakeep-hero { width: 100%; display: block; margin-bottom: 20px; border-radius: 4px; }
.vestakeep-logo { max-width: 260px; display: block; margin: 16px 0; }
.vestakeep-wrap .boxed { border-color: #2c3684; border-radius: 4px; }
.vestakeep-wrap .btn-primary { background: #2c3684; color: #fff; border-color: #2c3684; border-radius: 4px; transition: background 0.2s; }
.vestakeep-wrap .btn-primary:hover { background: #ffae00; border-color: #ffae00; color: #fff; }
.vestakeep-grades { display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0; }
.vestakeep-grade-card {
  flex: 1 1 220px;
  background: #f4f5fa;
  border-left: 3px solid #2c3684;
  border-radius: 4px;
  padding: 14px 16px;
}
.vestakeep-grade-card strong { color: #2c3684; display: block; margin-bottom: 8px; }
.vestakeep-grade-card a {
  display: inline-block;
  margin: 4px 6px 0 0;
  font-size: 13px;
  color: #2c3684;
  text-decoration: none;
  border: 1px solid #2c3684;
  border-radius: 3px;
  padding: 4px 10px;
}
.vestakeep-grade-card a:hover { background: #2c3684; color: #fff; }


/* =============================================================================
   TROGAMID PAGE (extracted from trogamid.php)
   ============================================================================= */

.trogamid-wrap { max-width: 1100px; margin: 30px auto 60px; padding: 0 20px; }
.trogamid-wrap h2 { font-size: 28px; color: #2c3684; margin-bottom: 4px; }
.trogamid-wrap h3 { font-size: 22px; color: #2c3684; margin: 24px 0 6px; }
.trogamid-hero { width: 100%; display: block; margin-bottom: 20px; border-radius: 4px; }
.trogamid-logo { max-width: 260px; display: block; margin: 16px 0; }
.trogamid-wrap .boxed { border-color: #2c3684; border-radius: 4px; }
.trogamid-wrap .btn-primary { background: #2c3684; color: #fff; border-color: #2c3684; border-radius: 4px; transition: background 0.2s; }
.trogamid-wrap .btn-primary:hover { background: #ffae00; border-color: #ffae00; color: #fff; }
.trogamid-grades { display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0; }
.trogamid-grade-card {
  flex: 1 1 220px;
  background: #f4f5fa;
  border-left: 3px solid #2c3684;
  border-radius: 4px;
  padding: 14px 16px;
}
.trogamid-grade-card strong { color: #2c3684; display: block; margin-bottom: 8px; }
.trogamid-grade-card a {
  display: inline-block;
  margin: 4px 6px 0 0;
  font-size: 13px;
  color: #2c3684;
  text-decoration: none;
  border: 1px solid #2c3684;
  border-radius: 3px;
  padding: 4px 10px;
}
.trogamid-grade-card a:hover { background: #2c3684; color: #fff; }


/* =============================================================================
   EVONIK PAGE (extracted from evonik.php)
   ============================================================================= */

.evonik-wrap { max-width: 1100px; margin: 30px auto 60px; padding: 0 20px; }
.evonik-wrap h2 { font-size: 28px; color: #2c3684; margin-bottom: 4px; }
.evonik-wrap h3 { font-size: 22px; color: #2c3684; margin-bottom: 10px; }
.evonik-hero { width: 100%; display: block; margin-bottom: 20px; border-radius: 4px; }
.evonik-logo { max-width: 280px; display: block; margin: 20px 0; }
.evonik-wrap .boxed { border-color: #2c3684; border-radius: 4px; }
.evonik-wrap .btn-primary { background: #2c3684; color: #fff; border-color: #2c3684; border-radius: 4px; transition: background 0.2s; }
.evonik-wrap .btn-primary:hover { background: #ffae00; border-color: #ffae00; color: #fff; }
.evonik-series { list-style: none; padding: 0; margin: 16px 0 0; }
.evonik-series li {
  padding: 12px 16px;
  margin-bottom: 10px;
  background: #f4f5fa;
  border-left: 3px solid #2c3684;
  border-radius: 4px;
  font-size: 15px;
  color: #333;
}
.evonik-series li a { color: #2c3684; font-weight: 600; text-decoration: none; }
.evonik-series li a:hover { color: #ffae00; }


/* =============================================================================
   STABILIZE RX PAGE (extracted from stabilize.php)
   ============================================================================= */

.stabilize-banner-wrap { position: relative; width: 100%; }
.stabilize-compare { position: absolute; overflow: hidden; }
.stabilize-compare img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
.stabilize-compare .stabilize-overlay { z-index: 2; transition: opacity 0.4s ease; cursor: pointer; }
.stabilize-compare:hover .stabilize-overlay { opacity: 0; }
#stabilizeUnstable { left: 22.5%; top: 14.5%; width: 9%; height: 10%; }
#stabilizeStable   { left: 68.5%; top: 14.5%; width: 9%; height: 10%; }
.stabilize-hover-hint {
  position: absolute;
  left: 31.5%;
  width: 37%;
  top: 17%;
  text-align: center;
  color: #2c3684;
  font-size: 11px;
  font-style: italic;
  line-height: 1.3;
}
.stabilize-hover-hint::before {
  content: "\1F5B1";
  display: block;
  font-style: normal;
  font-size: 16px;
  margin-bottom: 2px;
}


/* =============================================================================
   PEBA RO PAGE (extracted from pebaro.php)
   ============================================================================= */

.pebaro-wrap { max-width: 1100px; margin: 30px auto 60px; padding: 0 20px; }
.pebaro-wrap h3 { font-size: 24px; color: #2c3684; margin-bottom: 6px; }
.pebaro-flex { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 10px; }
.pebaro-flex-text { flex: 1 1 auto; min-width: 0; }
.pebaro-flex-text > p:first-child { margin-top: 0; }
.pebaro-flex-img { flex: 0 0 240px; }
.pebaro-flex-img img { width: 100%; height: auto; display: block; border-radius: 4px; }
.pebaro-wrap table.data-table { border-collapse: collapse; margin: 20px auto; }
.pebaro-wrap table.data-table td { border: 1px solid #ccc; padding: 6px 14px; text-align: center; }
.pebaro-wrap figure { text-align: center; max-width: 500px; margin: 20px auto; }
.pebaro-wrap figure img { max-width: 100%; border-radius: 4px; }
.pebaro-wrap figcaption { font-size: 13px; color: #777; margin-top: 6px; }
.pebaro-quote-table { width: 100%; margin-top: 20px; }
.pebaro-quote-table td { vertical-align: middle; }

@media (max-width: 700px) {
  .pebaro-flex { flex-direction: column; }
  .pebaro-flex-img { flex-basis: auto; max-width: 200px; margin: 0 auto; }
}


/* =============================================================================
   PURTONE RX PAGE (extracted from purtonerx.php)
   ============================================================================= */

.purtone-wrap { max-width: 1353px; margin: 30px auto 60px; padding: 0; }
.purtone-wrap h2 { font-size: 28px; color: #2c3684; margin-bottom: 16px; font-weight: 600; }
.purtone-wrap table { width: 100% !important; border-collapse: collapse; }
.purtone-wrap td { vertical-align: top; }
.purtone-wrap .boxed { border-color: #2c3684; border-radius: 4px; }
.purtone-wrap .btn-primary { background: #2c3684; color: #fff; border-color: #2c3684; border-radius: 4px; transition: background 0.2s; }
.purtone-wrap .btn-primary:hover { background: #ffae00; border-color: #ffae00; color: #fff; }

@media (max-width: 900px) {
  .purtone-wrap table, .purtone-wrap table tr, .purtone-wrap table td {
    display: block; width: 100% !important;
  }
  .purtone-wrap td[style*="padding-right"] { padding-right: 0 !important; }
  .purtone-wrap .alignright { float: none; display: block; margin: 0 auto 15px; }
}


/* =============================================================================
   CAREER OPPORTUNITIES PAGE (extracted from careerops.php)
   ============================================================================= */

.careers-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: 40px auto 60px;
  padding: 0 20px;
  align-items: flex-start;
}
.careers-main { flex: 2 1 420px; }
.careers-main p { font-size: 15px; line-height: 1.75; color: #555; margin-bottom: 14px; }
.careers-main p strong { color: #2c3684; }
.careers-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  margin-top: 24px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,0.15);
}
.careers-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.careers-sidebar { flex: 1 1 260px; max-width: 340px; }
.careers-sidebar h3 { font-size: 16px; color: #2c3684; margin-bottom: 14px; font-weight: 600; }
.job-list { list-style: none; padding: 0; margin: 0 0 24px; }
.job-list li { border-bottom: 1px solid #eee; }
.job-list li a {
  display: block;
  padding: 9px 4px;
  font-size: 14px;
  color: #2c3684;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}
.job-list li a:hover { color: #d80000; padding-left: 8px; }
.job-list li a::before { content: '›  '; color: #ffae00; font-weight: bold; }
.careers-photo { margin-top: 20px; text-align: center; }
.careers-photo img { max-width: 100%; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,0.10); }
.careers-photo figcaption { font-size: 12px; color: #888; margin-top: 6px; font-style: italic; }
.eoe-notice {
  background: #f0f3ff;
  border-left: 3px solid #2c3684;
  padding: 10px 16px;
  font-size: 13px;
  color: #444;
  margin-top: 16px;
  border-radius: 0 4px 4px 0;
}

@media (max-width: 767px) {
  .careers-sidebar { max-width: 100%; }
}


/* =============================================================================
   MISSION STATEMENT PAGE (extracted from missionstmt.php)
   ============================================================================= */

.mission-wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; margin: 40px 0 60px; }
.mission-img { flex: 0 1 calc(80% - 368px); max-width: 100%; }
.mission-img img { width: 100%; height: 100%; object-fit: fill; display: block; border-radius: 4px; box-shadow: 0 3px 14px rgba(0,0,0,0.12); }
.mission-text { flex: 0 0 420px; max-width: 420px; padding-right: 20px; }
.mission-text p { font-size: 15px; line-height: 1.85; color: #555; margin: 0; }
.mission-text::before {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: #ffae00;
  margin-bottom: 18px;
  border-radius: 2px;
}

@media (max-width: 767px) {
  .mission-wrap { margin: 40px 20px 60px; }
  .mission-img, .mission-text { flex: 1 1 100%; max-width: 100%; padding-right: 0; }
  .mission-img img { height: auto; object-fit: initial; }
}


/* =============================================================================
   ISO CERTIFICATION PAGE (extracted from isocerts.php)
   ============================================================================= */

.iso-wrap { max-width: 860px; margin: 40px auto 60px; padding: 0 20px; }
.iso-announcement {
  background: #f0f3ff;
  border-left: 4px solid #2c3684;
  padding: 14px 20px;
  margin-bottom: 30px;
  border-radius: 0 4px 4px 0;
  font-size: 15px;
  font-weight: 500;
  color: #2c3684;
}
.iso-announcement a { color: #d80000; font-weight: 600; text-decoration: none; }
.iso-announcement a:hover { color: #ffae00; }
.iso-body { display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; }
.iso-cert-img { flex: 0 0 auto; float: right; margin: 0 0 20px 30px; }
.iso-cert-img img { width: 200px; height: auto; display: block; box-shadow: 0 2px 10px rgba(0,0,0,0.12); border-radius: 4px; }
.iso-text p { font-size: 15px; line-height: 1.8; color: #555; margin-bottom: 16px; }
.iso-text p:last-child { margin-bottom: 0; }
.iso-download-btn {
  display: inline-block;
  margin-top: 20px;
  background: #2c3684;
  color: #fff;
  padding: 11px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}
.iso-download-btn:hover { background: #d80000; color: #fff; }

@media (max-width: 600px) {
  .iso-cert-img { float: none; margin: 0 auto 20px; text-align: center; }
  .iso-cert-img img { width: 160px; margin: 0 auto; }
}


/* =============================================================================
   CONTACT US PAGE (extracted from cu.php)
   ============================================================================= */

.cu-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1300px;
  margin: 30px auto 60px;
  padding: 0 20px;
  align-items: flex-start;
}
.cu-left { flex: 1 1 420px; }
.form_lbl { font-family: Poppins, sans-serif; font-weight: 500; font-size: 13px; color: #2c3684; margin-top: 14px; margin-bottom: 3px; }
.form_data {
  width: 100%;
  max-width: 460px;
  padding: 7px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  color: #333;
  box-sizing: border-box;
}
.form_data:focus { outline: none; border-color: #2c3684; box-shadow: 0 0 0 2px rgba(44,54,132,0.15); }
textarea.form_data { resize: vertical; min-height: 120px; }
.form_error_tip { display: none; color: #d80000; font-size: 12px; margin-left: 6px; }
.cu-submit-wrap { margin-top: 20px; }
.cu-submit {
  background: #ffae00;
  color: #fff;
  border: none;
  padding: 12px 36px;
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.cu-submit:hover { background: #2c3684; }
.form_error_msg {
  display: none;
  color: #d80000;
  background: #fff0f0;
  border: 1px solid #d80000;
  border-radius: 4px;
  padding: 10px 14px;
  margin-top: 12px;
  font-size: 13px;
}
.cu-contact-info { margin-top: 30px; font-size: 15px; line-height: 1.9; color: #555; }
.cu-contact-info a { color: #d80000; }
.cu-contact-info a:hover { color: #ffae00; }
.cu-right { flex: 1 1 480px; max-width: 600px; }
.cu-map { width: 100%; border: 0; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,0.12); }
.cu-travel { margin-top: 20px; font-size: 14px; line-height: 1.8; color: #555; }
.cu-travel strong { color: #2c3684; }

@media (max-width: 767px) {
  .cu-right { max-width: 100%; }
}


/* =============================================================================
   REQUEST A QUOTE PAGE (extracted from quotes.php)
   ============================================================================= */

.quotes-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: 30px auto 60px;
  padding: 0 20px;
  align-items: flex-start;
}
.quotes-info { flex: 1 1 280px; max-width: 320px; }
.quotes-info img.quote-icon { float: left; margin-right: 10px; width: 50px; }
.quotes-info p { font-size: 14px; line-height: 1.7; color: #555; margin-bottom: 10px; clear: none; }
.quotes-info p.clear { clear: both; }
.quotes-info a { color: #d80000; }
.quotes-info a:hover { color: #ffae00; }
.quotes-info .color-note {
  background: #f0f3ff;
  border-left: 3px solid #2c3684;
  padding: 10px 14px;
  font-size: 13px;
  margin-top: 14px;
  color: #333;
  line-height: 1.6;
}
.quotes-info .btn-color-sel {
  display: inline-block;
  margin-top: 12px;
  background: #ffae00;
  color: #fff;
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.quotes-info .btn-color-sel:hover { background: #2c3684; }
.quotes-form-wrap { flex: 2 1 420px; }
/* .form_lbl and .form_data are shared with cu.php — defined above */
/* quotes max-width override for form_data */
.quotes-form-wrap .form_data { max-width: 520px; }
.select-wrap select.form_data { background: #fff; cursor: pointer; }
.form_sub { display: none; padding-left: 30px; border-left: 2px solid #e0e4f5; margin-left: 10px; margin-top: 4px; }
.checkbox-group label { display: block; font-size: 13px; margin: 3px 0; cursor: pointer; color: #444; }
.checkbox-group input[type="checkbox"] { margin-right: 6px; }
.quote-submit-wrap { margin-top: 20px; }
.quote-submit {
  background: #ffae00;
  color: #fff;
  border: none;
  padding: 12px 36px;
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.quote-submit:hover { background: #2c3684; }
.form_success_msg {
  display: none;
  color: #1a6b2a;
  background: #edfff2;
  border: 1px solid #1a6b2a;
  border-radius: 4px;
  padding: 10px 14px;
  margin-top: 12px;
  font-size: 14px;
}

@media (max-width: 767px) {
  .quotes-info { max-width: 100%; }
}
