@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.2/font/bootstrap-icons.min.css");

/* ==========================================================
   SPE POLYMER INSIGHTS
   Bootstrap 4.6
   ========================================================== */

/* -- 1. DESIGN TOKENS -- */

:root {
  --polymer-primary: #00345c;
  --polymer-secondary: #0078aa;
  --polymer-text: #333333;
  --polymer-muted: #607787;

  --polymer-white: #ffffff;
  --polymer-light: #f5f9fc;
  --polymer-light-blue: #edf5fa;
  --polymer-border: #e2ebf1;
  --polymer-icon-bg: #e8f4fa;

  --polymer-body-size: 1.125rem;
  --polymer-body-line-height: 1.7;
  --polymer-heading-line-height: 1.2;

  --polymer-section-padding: 5rem;
  --polymer-split-height: 560px;

  --polymer-radius: 8px;
  --polymer-radius-lg: 12px;

  --polymer-shadow: 0 4px 18px rgba(0, 52, 92, 0.05);
  --polymer-shadow-hover: 0 12px 32px rgba(0, 52, 92, 0.12);
}


/* -- 2. SHARED TYPOGRAPHY -- */

/* Section headings */

.polymer-community h2,
.polymer-questions h2,
.polymer-benefits h2,
.polymer-pricing h2,
.polymer-faq h2 {
  color: var(--polymer-primary);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: var(--polymer-heading-line-height);
  font-weight: 700;
}

/* Regular paragraph text */

.polymer-hero .lead,
.polymer-community p,
.polymer-questions p,
.polymer-benefit-card p,
.polymer-pricing .lead,
.polymer-pricing-details,
.polymer-faq .card-body {
  font-size: var(--polymer-body-size);
  line-height: var(--polymer-body-line-height);
}

/* Shared text color */

.polymer-community p,
.polymer-questions p,
.polymer-benefit-card p,
.polymer-pricing-details,
.polymer-faq .card-body {
  color: var(--polymer-text);
}

/* Shared section dimensions */

.polymer-hero,
.polymer-community,
.polymer-questions {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Shared split-section height */

.polymer-hero-content,
.polymer-hero-image,
.polymer-community-content,
.polymer-community-image,
.polymer-questions-content,
.polymer-questions-image {
  min-height: var(--polymer-split-height);
}

/* Shared image behavior */

.polymer-hero-image,
.polymer-community-image,
.polymer-questions-image {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Shared text-column behavior */

.polymer-hero-content,
.polymer-community-content,
.polymer-questions-content {
  padding: 4rem;
}

/* Shared text width */

.polymer-community-text,
.polymer-questions-text {
  width: 100%;
  max-width: 600px;
}

/* Shared padded sections */

.polymer-benefits,
.polymer-pricing,
.polymer-faq {
  padding: var(--polymer-section-padding) 0;
}


/* -- 3. MENU -- */

.text-menu {
  font-size: 1.6rem;
}

/* -- 3.5. Main Nav -- */

.polymer-main-nav {
/* background: linear-gradient( 90deg, #1e7986 0%, #aedadc 50%, #2f8a97 100% ); */
  background-color: #2f8a97;
}

.polymer-page-nav.navbar-dark .navbar-nav .nav-link {
  color: #ffffff !important;
}

.polymer-page-nav.navbar-dark .navbar-nav .nav-link:hover,
.polymer-page-nav.navbar-dark .navbar-nav .nav-link:focus {
  color: #ffffff !important;
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .polymer-page-nav .navbar-collapse {
    text-align: center;
  }
}

/* -- 4. PRIMARY HERO -- */

.polymer-hero {
  background: linear-gradient(
    90deg,
    var(--polymer-primary) 0%,
    var(--polymer-secondary) 100%
  );
}

.polymer-hero-content {
  padding: 3rem 2rem;
}

.polymer-hero h1 {
  line-height: 1.15;
}

.polymer-hero .lead {
  color: var(--polymer-white);
}

.polymer-hero-image {
  background-image: url(
    "https://4spe.org/templates/1257/images/teal_plastic_pellets_macro_texture800px.webp"
  );
}



/*-- POLYMER INSIGHTS CTA BUTTON --*/

.polymer-cta-btn {
  font-size: 1.4rem;
  font-weight: 600;
  border-radius: 8px;

  /* Raised button appearance */
  box-shadow: 0 5px 0 #b8c5cd;

  transform: translateY(0);

  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background-color 0.12s ease;
}

/* Hover: subtle highlight */

.polymer-cta-btn:hover {
  background-color: #ffffff;
}

/* Active: button physically depresses */

.polymer-cta-btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #b8c5cd;
}

/* Keyboard accessibility */

.polymer-cta-btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 5px;
}

.polymer-pricing-card .polymer-pricing-cta {
  background-color: #13585f;
  border: 2px solid #13585f;
  color: #ffffff;
  box-shadow: 0 5px 0 #0b363b;
}

.polymer-pricing-card .polymer-pricing-cta:hover {
  background-color: #1e7986;
  border-color: #1e7986;
  color: #ffffff;
}

.polymer-pricing-card .polymer-pricing-cta:active {
  box-shadow: 0 1px 0 #0b363b;
}

.polymer-pricing-card .polymer-pricing-cta:focus-visible {
  outline: 3px solid #13585f;
  outline-offset: 5px;
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .polymer-cta-btn {
    transition: none;
  }
}

/* -- 5. BUILT FOR THE PLASTICS COMMUNITY -- */

.polymer-community {
  background-color: var(--polymer-white);
}

.polymer-community-image {
  background-image: url(
    "https://4spe.org/templates/1257/images/product_school_novia_x_tfo_unsplash.webp"
  );
}


/* -- 6. ASK QUESTIONS IN PLAIN LANGUAGE -- */

.polymer-questions {
  background-color: var(--polymer-light-blue);
}

.polymer-questions-image {
  background-image: url(
    "https://4spe.org/templates/1257/images/vitaly_gariev_hiherki9mts_unsplash.webp"
  );
}


/* -- 7. PUT POLYMER INSIGHTS TO WORK -- */

.polymer-benefits {
  background-color: var(--polymer-light);
}

.polymer-benefit-card {
  background-color: var(--polymer-white);
  border: 1px solid var(--polymer-border);
  border-radius: var(--polymer-radius);
  padding: 2.5rem 1.75rem;
  text-align: center;

  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.polymer-benefit-icon {
  display: inline-block;
  color: var(--polymer-secondary);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1.75rem;
}

.polymer-benefit-card h3 {
  color: var(--polymer-primary);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.polymer-benefit-card p {
  margin-bottom: 0;
}


/* -- 8. PRICING CARDS -- */

.polymer-pricing {
  background-color: var(--polymer-light-blue);
}

.polymer-pricing .lead {
  color: var(--polymer-text);
}

.polymer-pricing-card {
  background-color: var(--polymer-white);
  border: 1px solid var(--polymer-border);
  border-radius: var(--polymer-radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--polymer-shadow);

  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

/* Featured membership */

.polymer-pricing-featured {
  border: 2px solid var(--polymer-secondary);
  box-shadow: 0 8px 30px rgba(0, 120, 170, 0.12);
}

/* Pricing icons */

.polymer-pricing-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 80px;
  height: 80px;
  margin: 0 auto 1.75rem;

  background-color: var(--polymer-icon-bg);
  border-radius: 50%;

  color: var(--polymer-secondary);
  font-size: 2.5rem;
}

/* Pricing headings */

.polymer-pricing-card h3 {
  color: var(--polymer-primary);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* Secondary pricing labels */

.polymer-pricing-type,
.polymer-pricing-period {
  color: var(--polymer-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.polymer-pricing-type {
  margin-bottom: 2rem;
}

.polymer-pricing-period {
  margin-top: 0.75rem;
  margin-bottom: 2rem;
}

/* Price */

.polymer-pricing-price {
  color: var(--polymer-primary);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
}

/* Divider */

.polymer-pricing-card hr {
  border-color: var(--polymer-border);
  margin: 2rem 0;
}

/* Pricing benefits */

.polymer-pricing-details {
  display: flex;
  align-items: flex-start;
  text-align: left;
}

.polymer-pricing-details i {
  color: var(--polymer-secondary);
  font-size: 1.25rem;
  line-height: 1.5;
  flex-shrink: 0;
  margin-right: 0.75rem;
}


/* -- 9. FAQ ACCORDION -- */

.polymer-faq {
  background-color: var(--polymer-white);
}

.polymer-faq .accordion {
  max-width: 960px;
  margin: 0 auto;
}

/* Accordion cards */

.polymer-faq .card {
  border: 1px solid var(--polymer-border);
  border-radius: var(--polymer-radius) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;

  box-shadow: 0 2px 8px rgba(0, 52, 92, 0.03);
}

/* Accordion headers */

.polymer-faq .card-header {
  background-color: var(--polymer-light);
  border-bottom: 0;
  padding: 0;
}

.polymer-faq .card-header h3 {
  font-size: var(--polymer-body-size);
  margin-bottom: 0;
}

/* Accordion buttons */

.polymer-faq .btn-link {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  padding: 1.5rem 1.75rem;

  color: var(--polymer-primary);
  font-size: var(--polymer-body-size);
  font-weight: 600;
  line-height: 1.5;
  white-space: normal;
  text-align: left;
  text-decoration: none;
}

.polymer-faq .btn-link:hover,
.polymer-faq .btn-link:focus {
  color: var(--polymer-secondary);
  text-decoration: none;
}

.polymer-faq .btn-link:focus-visible {
  outline: 2px solid var(--polymer-secondary);
  outline-offset: -2px;
}

/* Accordion icons */

.polymer-faq .btn-link .bi {
  color: var(--polymer-secondary);
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-left: 1rem;

  transition: transform 0.25s ease;
}

.polymer-faq .btn-link:not(.collapsed) .bi {
  transform: rotate(180deg);
}

/* Accordion answers */

.polymer-faq .card-body {
  padding: 1.5rem 1.75rem;
  background-color: var(--polymer-white);
}


/* -- 10. HOVER EFFECTS -- */

@media (hover: hover) {

  .polymer-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 52, 92, 0.1);
  }

  .polymer-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--polymer-shadow-hover);
  }

}


/* -- 11. MOBILE: BELOW 768px -- */

@media (max-width: 767.98px) {

  :root {
    --polymer-section-padding: 3.5rem;
  }

  /* Typography */

  .polymer-hero h1 {
    font-size: 2rem;
  }

  .polymer-community h2,
  .polymer-questions h2,
  .polymer-benefits h2,
  .polymer-pricing h2,
  .polymer-faq h2 {
    font-size: 2rem;
  }

  /* Hero */

  .polymer-hero-content {
    min-height: 280px;
    padding: 3rem 1.5rem;
  }

  .polymer-hero-image {
    display: none;
    min-height: 240px;
  }

  /* Community and Questions */

  .polymer-community-content,
  .polymer-questions-content {
    min-height: auto;
    padding: 3rem 1.5rem;
  }

  .polymer-community-image,
  .polymer-questions-image {
    display: none;
    min-height: 280px;
  }
  
  .polymer-community-text, .polymer-questions-text {
    padding: 3rem 1.5rem;
  }

  /* Benefits */

  .polymer-benefits {
    padding-bottom: 2.5rem;
  }

  .polymer-benefit-card {
    padding: 2rem 1.5rem;
  }

  /* Pricing */

  .polymer-pricing-card {
    padding: 2.5rem 1.5rem;
  }

  .polymer-pricing-price {
    font-size: 3rem;
  }

  /* FAQ */

  .polymer-faq .btn-link,
  .polymer-faq .card-body {
    padding: 1.25rem;
  }

}


/* -- 12. REDUCED MOTION -- */

@media (prefers-reduced-motion: reduce) {

  .polymer-benefit-card,
  .polymer-pricing-card,
  .polymer-faq .btn-link .bi {
    transition: none;
  }

}

/* ==========================================================
   POLYMER INSIGHTS HEADER
   Bootstrap 4.6 / i4a
   ========================================================== */

.polymer-site-header {
  position: relative;
  width: 100%;
  /* min-height: 150px; */
  margin: 0;
  padding: 0.5rem 0;

  display: flex;
  align-items: center;
  
  background: linear-gradient(
  90deg,
  #051b1b 0%,
  #124248 38%,
  #13585f 72%,
  #1e7986 100%
);

}

/* Cyan accent line */

/* .polymer-site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 6px;

background: linear-gradient(
  90deg,
  #1e7986 0%,
  #aedadc 50%,
  #2f8a97 100%
);
} */

/* Internal container */

.polymer-site-header > .container {
  width: 100%;
}

/* Primary header row */

.polymer-site-header .i4a_header_row1 {
  align-items: center;
}

/* SVG Logo */

.polymer-site-header .widget_responsiveimage img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 110px;
}

/* Account navigation column */

.polymer-site-header .i4a_header_row1_col2 {
  text-align: right;
}

/* Secondary widget row */

.polymer-site-header .i4a_header_row2 {
  margin-top: 0;
  margin-bottom: 0;
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767.98px) {

  .polymer-site-header {
    min-height: auto;
    padding: 1.75rem 0;
  }

  .polymer-site-header .i4a_header_row1_col1 {
    text-align: center;
  }

  .polymer-site-header .widget_responsiveimage img {
    max-height: 85px;
    margin-left: auto;
    margin-right: auto;
  }

  .polymer-site-header .i4a_header_row1_col2 {
    text-align: center;
  }

}

/*-- POLYMER INSIGHTS ACCOUNT NAVIGATION --*/

.polymer-site-header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1.5rem;
}

.polymer-site-header-welcome {
  flex-basis: 100%;
  text-align: right;
  font-size: 1.5rem;
  color: #ffffff
}

.polymer-site-header-nav a {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 1.2rem;
}

.polymer-site-header-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.polymer-site-header-nav a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.polymer-site-header-nav .bi {
  font-size: 1.125rem;
  margin-right: 0.4rem;
}

/*-- MOBILE --*/

@media (max-width: 767.98px) {

  .polymer-site-header-nav {
    justify-content: center;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    margin-top: 1.5rem;
    gap: 0.75rem 1.25rem;
  }

  .polymer-site-header-welcome {
    flex: 0 0 100%;
    width: 100%;
    text-align: center;
  }

}