.elementor-447 .elementor-element.elementor-element-e07ef80:not(.elementor-motion-effects-element-type-background), .elementor-447 .elementor-element.elementor-element-e07ef80 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#000000;}.elementor-447 .elementor-element.elementor-element-e07ef80{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;padding:060px 40px 60px 40px;}.elementor-447 .elementor-element.elementor-element-e07ef80 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-447 .elementor-element.elementor-element-4ab2f8b{text-align:center;}.elementor-447 .elementor-element.elementor-element-4ab2f8b .elementor-heading-title{font-family:"Poppins", Sans-serif;font-size:60px;font-weight:800;text-transform:uppercase;color:#FFFFFF;}.elementor-447 .elementor-element.elementor-element-1acaa6f{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-447 .elementor-element.elementor-element-77b0f72{--display:flex;}.elementor-447 .elementor-element.elementor-element-77b0f72:not(.elementor-motion-effects-element-type-background), .elementor-447 .elementor-element.elementor-element-77b0f72 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F7F7F7;}@media(max-width:767px){.elementor-447 .elementor-element.elementor-element-e07ef80{padding:40px 10px 40px 10px;}.elementor-447 .elementor-element.elementor-element-4ab2f8b .elementor-heading-title{font-size:30px;}}/* Start custom CSS *//* ==============================
   LIONEL INDUSTRIES
   CERTIFICATIONS PAGE HERO
============================== */

.lionel-cert-hero-section {
  width: 100%;
  background: #ffffff;
  padding: 110px 20px 90px;
  font-family: 'Poppins', Arial, sans-serif;
  box-sizing: border-box;
  overflow: hidden;
}

.lionel-cert-hero-section * {
  box-sizing: border-box;
}

.lionel-cert-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: stretch;
}

/* Left Content */
.lionel-cert-hero-content {
  background: #000000;
  border-radius: 6px;
  padding: 58px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lionel-cert-hero-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 20px;
  padding: 9px 14px;
  background: #ffffff;
  color: #000000;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}

.lionel-cert-hero-heading {
  margin: 0 0 24px !important;
  color: #ffffff !important;
  font-family: 'Poppins', Arial, sans-serif !important;
  font-size: 54px !important;
  font-weight: 900 !important;
  line-height: 1.06 !important;
  letter-spacing: -1.6px !important;
}

.lionel-cert-hero-text {
  margin: 0 0 18px;
  color: #d6d6d6;
  font-size: 16px;
  line-height: 1.85;
}

.lionel-cert-hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.lionel-cert-primary-btn,
.lionel-cert-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 16px 26px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none !important;
  line-height: 1;
  transition: all 0.3s ease;
}

.lionel-cert-primary-btn {
  background: #ffffff;
  color: #000000 !important;
  border: 1px solid #ffffff;
}

.lionel-cert-primary-btn:hover {
  background: transparent;
  color: #ffffff !important;
}

.lionel-cert-secondary-btn {
  background: transparent;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.35);
}

.lionel-cert-secondary-btn:hover {
  background: #ffffff;
  color: #000000 !important;
  border-color: #ffffff;
}

/* Right Visual */
.lionel-cert-hero-visual {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
}

.lionel-cert-image-box {
  width: 100%;
  min-height: 520px;
  border-radius: 6px;
  overflow: hidden;
  background: #f2f2f2;
}

.lionel-cert-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.lionel-cert-image-box:hover img {
  transform: scale(1.05);
}

/* Mini Cards */
.lionel-cert-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lionel-cert-mini-card {
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 26px 24px;
  transition: all 0.3s ease;
}

.lionel-cert-mini-card:hover {
  border-color: #000000;
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.lionel-cert-mini-card span {
  width: 44px;
  height: 44px;
  background: #000000;
  color: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 16px;
}

.lionel-cert-mini-card h3 {
  margin: 0 0 8px !important;
  color: #000000 !important;
  font-family: 'Poppins', Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
}

.lionel-cert-mini-card p {
  margin: 0;
  color: #666666;
  font-size: 14px;
  line-height: 1.7;
}

/* Tablet */
@media (max-width: 1024px) {
  .lionel-cert-hero-section {
    padding: 85px 24px 75px;
  }

  .lionel-cert-hero-container {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .lionel-cert-hero-heading {
    font-size: 42px !important;
  }

  .lionel-cert-image-box {
    min-height: 430px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .lionel-cert-hero-section {
    padding: 60px 16px;
  }

  .lionel-cert-hero-content {
    padding: 46px 22px;
    text-align: center;
  }

  .lionel-cert-hero-label {
    margin-left: auto;
    margin-right: auto;
    font-size: 11px;
    letter-spacing: 1.7px;
  }

  .lionel-cert-hero-heading {
    font-size: 32px !important;
    line-height: 1.14 !important;
    letter-spacing: -0.7px !important;
  }

  .lionel-cert-hero-text {
    font-size: 15px;
    line-height: 1.75;
  }

  .lionel-cert-hero-buttons {
    flex-direction: column;
  }

  .lionel-cert-primary-btn,
  .lionel-cert-secondary-btn {
    width: 100%;
  }

  .lionel-cert-image-box {
    min-height: 320px;
  }

  .lionel-cert-mini-grid {
    grid-template-columns: 1fr;
  }

  .lionel-cert-mini-card {
    text-align: center;
    padding: 26px 22px;
  }

  .lionel-cert-mini-card span {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==============================
   LIONEL INDUSTRIES
   CERTIFICATIONS GRID SECTION
============================== */

.lionel-cert-grid-section {
  width: 100%;
  background: #f7f7f7;
  padding: 110px 20px;
  font-family: 'Poppins', Arial, sans-serif;
  box-sizing: border-box;
}

.lionel-cert-grid-section * {
  box-sizing: border-box;
}

.lionel-cert-grid-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Heading Area */
.lionel-cert-grid-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
}

.lionel-cert-grid-label {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 9px 14px;
  background: #000000;
  color: #ffffff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}

.lionel-cert-grid-heading h2 {
  margin: 0 0 18px !important;
  color: #000000 !important;
  font-family: 'Poppins', Arial, sans-serif !important;
  font-size: 46px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -1.2px !important;
}

.lionel-cert-grid-heading p {
  color: #555555;
  font-size: 16px;
  line-height: 1.85;
  margin: 0;
}

/* Grid Layout */
.lionel-cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Cards */
.lionel-cert-document-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 40px 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lionel-cert-document-card:hover {
  border-color: #000000;
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.06);
}

.lionel-cert-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.lionel-cert-logo img {
  max-height: 100%;
  max-width: 140px;
  object-fit: contain;
}

.lionel-cert-document-card h3 {
  margin: 0 0 12px !important;
  color: #000000 !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.5px !important;
}

.lionel-cert-document-card p {
  margin: 0 0 24px;
  color: #666666;
  font-size: 14px;
  line-height: 1.75;
  flex-grow: 1;
}

.lionel-cert-view-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}

.lionel-cert-document-card:hover .lionel-cert-view-btn {
  border-color: #000000;
}

/* ==============================
   POPUP MODAL STYLES (FULL HEIGHT)
============================== */

.lionel-cert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 30px;
  box-sizing: border-box;
}

.lionel-cert-modal.active {
  opacity: 1;
  pointer-events: all;
}

.lionel-cert-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 85vh; /* Sets popup height to fill 85% of viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 6px;
  padding: 12px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lionel-cert-modal.active .lionel-cert-modal-content {
  transform: scale(1);
}

.lionel-cert-modal-content img {
  max-width: 100%;
  max-height: 82vh; /* Keeps the document rendering clean and tall */
  width: auto;
  height: auto;
  object-fit: contain; /* Prevents stretching */
  display: block;
  border-radius: 4px;
}

.lionel-cert-modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  font-weight: 300;
  transition: color 0.2s ease;
}

.lionel-cert-modal-close:hover {
  color: #d6d6d6;
}

/* ==============================
   RESPONSIVE DESIGN (TABLET & MOBILE)
============================== */

@media (max-width: 1024px) {
  .lionel-cert-grid-section {
    padding: 85px 24px;
  }
  .lionel-cert-grid-heading h2 {
    font-size: 38px !important;
  }
  .lionel-cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .lionel-cert-grid-section {
    padding: 60px 16px;
  }
  .lionel-cert-grid-label {
    font-size: 11px;
    letter-spacing: 1.7px;
  }
  .lionel-cert-grid-heading h2 {
    font-size: 30px !important;
  }
  .lionel-cert-grid {
    grid-template-columns: 1fr;
  }
  .lionel-cert-document-card {
    padding: 30px 22px;
  }
  
  /* Mobile Modal Adjustments */
  .lionel-cert-modal {
    padding: 15px;
  }
  .lionel-cert-modal-content img {
    max-height: 75vh;
  }
  .lionel-cert-modal-close {
    top: -40px;
    font-size: 36px;
  }
}



/*CTA*/


/* ==============================
   LIONEL INDUSTRIES
   ETHICAL PRACTICES SECTION
============================== */

.lionel-cert-ethical-section {
  width: 100%;
  background: #ffffff;
  padding: 110px 20px;
  font-family: 'Poppins', Arial, sans-serif;
  box-sizing: border-box;
  overflow: hidden;
}

.lionel-cert-ethical-section * {
  box-sizing: border-box;
}

.lionel-cert-ethical-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Content Area */
.lionel-cert-ethical-label {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 9px 14px;
  background: #f7f7f7;
  color: #000000;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}

.lionel-cert-ethical-content h2 {
  margin: 0 0 20px !important;
  color: #000000 !important;
  font-size: 42px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;
}

.lionel-cert-ethical-text {
  color: #555555;
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 36px;
}

/* Bullet List */
.lionel-cert-ethical-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lionel-cert-ethical-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.lionel-cert-list-icon {
  width: 32px;
  height: 32px;
  background: #000000;
  color: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 4px;
}

.lionel-cert-ethical-list strong {
  display: block;
  color: #000000;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.lionel-cert-ethical-list p {
  margin: 0;
  color: #666666;
  font-size: 14px;
  line-height: 1.7;
}

/* Visual Area */
.lionel-cert-ethical-image {
  position: relative;
  width: 100%;
  min-height: 500px;
  border-radius: 6px;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lionel-cert-ethical-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 6px;
  object-fit: cover;
  z-index: 1;
}

.lionel-cert-ethical-image::after {
  content: "Image Placeholder";
  color: #888888;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 0;
}

.lionel-cert-ethical-badge {
  position: absolute;
  bottom: 30px; 
  left: 30px; 
  background: #000000;
  padding: 24px 30px;
  border-radius: 6px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  z-index: 2;
}

.lionel-cert-ethical-badge h4 {
  margin: 0 0 4px !important;
  font-family: 'Poppins', Arial, sans-serif !important;
  font-size: 38px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -1px !important;
}

.lionel-cert-ethical-badge span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ==============================
   LIONEL INDUSTRIES
   CERTIFICATIONS CTA SECTION
============================== */

.lionel-cert-cta-section {
  width: 100%;
  background: #000000;
  padding: 100px 20px;
  font-family: 'Poppins', Arial, sans-serif;
  box-sizing: border-box;
  text-align: center;
}

.lionel-cert-cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.lionel-cert-cta-container h2 {
  margin: 0 0 20px !important;
  color: #ffffff !important;
  font-family: 'Poppins', Arial, sans-serif !important;
  font-size: 46px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -1.2px !important;
}

.lionel-cert-cta-container p {
  color: #d6d6d6;
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 36px;
}

.lionel-cert-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.lionel-cert-cta-primary,
.lionel-cert-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 18px 30px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none !important;
  line-height: 1;
  transition: all 0.3s ease;
}

.lionel-cert-cta-primary {
  background: #ffffff;
  color: #000000 !important;
  border: 1px solid #ffffff;
}

.lionel-cert-cta-primary:hover {
  background: transparent;
  color: #ffffff !important;
}/* End custom CSS */