
  .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
  }

  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }




/* 360training logo online page */

.powered-by-360 {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  background: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0.75rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.powered-by-360 img {
  height: 50px;
  width: auto;
  display: block;
}

.powered-by-360:hover {
  transform: scale(1.05);
}




/* Locations Page */

/* Glass Cards for Columns */
.glass-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-card);
  transition: var(--transition-fast);
}

/* Link List Refined */
.city-list li {
  margin-bottom: 0.75rem;
}

.city-list a {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: var(--transition-fast);
}

.city-list a:hover {
  color: var(--accent-gold);
  background: rgba(186, 131, 13, 0.08);
  transform: translateX(6px);
  box-shadow: 0 2px 6px rgba(17, 106, 179, 0.25);
}




/* ========================================
   Root Variables for Theme & Shadows
======================================== */
:root {
  --primary-blue: #116ab3;
  --accent-gold: #ba830d;
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-pop: 0 12px 32px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.05);
  --transition-fast: all 0.3s ease;
}

/* ========================================
   Global Smooth Transitions
======================================== */
a, img, .web3-card, .web3-btn, .web3-list li {
  transition: var(--transition-fast);
}

/* ========================================
   Gradient Heading Styles (Global h1–h6)
======================================== */
h1, h2, h3, h4, h5, h6 {
  display: inline-block; /* Makes the gradient only wrap the text */
  font-weight: bold;
  background: linear-gradient(to left, #116ab3, #ba830d);
  background-size: 100% 100%; /* Ensures full gradient appears */
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  transition: var(--transition-fast);
  text-align: center;
}

/* Responsive & accessible enhancements */
h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
  transform: scale(1.015);
}

/* ========================================
   Hero Header Inner Stack (Inside Jumbotron)
======================================== */
.hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem; /* spacing between <p> and <h1> */
  margin-bottom: 2rem;
}

/* ========================================
   H1 Glass Background Enhancement – Brighter Glass
======================================== */
.h1-overlay {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.4); /* Brighter white background */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25); /* Softer, cleaner border */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* Light shadow */
  animation: fade-in 0.8s ease-out forwards;
}

/* Clean, natural brand-colored h1 text (solid color, no gradient) */
.h1-overlay h1 {
  color: #116ab3; /* Primary brand color */
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin: 0;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: color 0.3s ease, transform 0.3s ease;

  /* Remove gradient styling explicitly in case of inheritance */
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

/* Optional hover color change */
.h1-overlay h1:hover {
  color: #ba830d; /* Accent gold on hover */
  transform: scale(1.015);
}

/* ========================================
   Highlighted Text Tag Above Heading – Matching h1-overlay
======================================== */
.highlighted-text {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.4); /* Match h1-overlay background */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25); /* Match h1-overlay border */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* Match h1-overlay shadow */
  font-size: 1.8rem;
  font-weight: 600;
  color: #ba830d; /* Accent gold */
  text-align: center;
  animation: fade-in 0.8s ease-out forwards;
  margin: 0;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ========================================
   Fade In Animation
======================================== */
@keyframes fade-in {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
  animation: fade-in 1s ease-out forwards;
}

/* ========================================
   Service Image Section
======================================== */
.service-image-container {
  margin: 0 auto;
  display: block;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 4px solid var(--primary-blue);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-fast);
  max-width: 600px; /* Add this line */
  width: 100%;       /* Optional: makes it responsive */
}


.service-image-container:hover {
  box-shadow: 0 0 25px var(--accent-gold);
  transform: scale(1.02);
}

.service-image {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.service-image-container:hover .service-image {
  transform: scale(1.05);
}

/* ========================================
   Web3 CTA Box
======================================== */
.web3-cta-box {
  background: linear-gradient(135deg, rgba(17, 106, 179, 0.1), rgba(186, 131, 13, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: var(--transition-fast);
}

.cta-text {
  font-size: 1.2rem;
  color: #333;
  font-weight: 500;
}

.web3-btn {
  background: linear-gradient(to left, var(--primary-blue), var(--accent-gold));
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(17, 106, 179, 0.25);
  text-decoration: none;
  border: none;
  white-space: normal; /* Allow line break */
  text-align: center;  /* Center multiline text */
  display: inline-block;
  line-height: 1.4;
  word-break: break-word;
  max-width: 320px;   /* Keeps it clean on mobile */
  width: 100%;
  margin: 0 auto;     /* Center horizontally */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.web3-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(186, 131, 13, 0.3); /* Slight golden glow */
  color: #fff;
}


/* ========================================
   Dropdown Menu
======================================== */
.dropdown-menu {
  max-height: 300px;
  overflow-y: auto;
}

/* ========================================
   Glass Table Style
======================================== */
.training-table-glass h3 {
  text-align: center;
}

.training-table-glass {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

/* Table Link List */
.glass-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.glass-link-list li {
  margin-bottom: 0.6rem;
}

.glass-link-list a {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  padding: 0.3rem 0.5rem;
  border-radius: 0.5rem;
}

.glass-link-list a:hover {
  color: var(--accent-gold);
  background: rgba(17, 106, 179, 0.08);
  transform: translateX(4px);
}

/* ========================================
   Web3 Section & Cards
======================================== */
.web3-section {
  background: linear-gradient(to bottom left, #f9fafc, #f0f4f9);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.web3-title,
.web3-heading,
.section-heading {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(to left, var(--primary-blue), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-description,
.intro-text {
  font-size: 1.1rem;
  color: #333;
}

/* Web3 List */
.web3-list {
  list-style: none;
  padding-left: 0;
}

.web3-list li {
  background: #fff;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  font-weight: 500;
}

.web3-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(17, 106, 179, 0.15);
}



/* ========================================
   Web3 Card (Updated for Clean UX & Spacing)
======================================== */
.web3-card {
  background: #ffffff;
  border-radius: 1.75rem;
  padding: 1.75rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.web3-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.web3-card img {
  width: 100%;
  height: auto;
  max-height: 190px;
  object-fit: contain;
  border-radius: 1.25rem;
  border: 4px solid var(--primary-blue);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

.web3-card:hover img {
  transform: scale(1.035);
}

.web3-card .web3-btn {
  margin-top: auto;
}


/* ===============================
   Web3-Inspired Sidebar Styles
================================= */

.sidebar-wrapper {
  padding: 1.5rem;
}

.sidebar-courses {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  animation: fade-in 0.8s ease-out forwards;
  transition: all 0.3s ease-in-out;
}

/* Heading */
.sidebar-courses .sidebar-heading {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(to left, #116ab3, #ba830d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Course List */
.course-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-list li {
  background: #ffffff;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  font-weight: 500;
  position: relative;
  line-height: 1.4;
  color: #222;
  transition: all 0.3s ease;
}

.course-list li:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 12px 28px rgba(17, 106, 179, 0.2);
}

/* Date Tag */
.date-tag a {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: #116ab3;
  background: rgba(17, 106, 179, 0.08);
  padding: 0.4rem 0.8rem;
  border-radius: 0.6rem;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(17, 106, 179, 0.1);
}

.date-tag a:hover {
  color: #ba830d;
  background: rgba(186, 131, 13, 0.08);
  box-shadow: 0 6px 14px rgba(186, 131, 13, 0.2);
  transform: translateX(4px);
}

/* Fade-in Animation */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/** Custom CSS Blog Pagination **/

.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  flex-direction: row;
  margin-top: 2rem;
  margin-bottom: 3rem; /* Adds spacing above CTA */
}

.blog-pagination .web3-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  background: linear-gradient(to right, var(--accent-gold), var(--primary-blue));
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(17, 106, 179, 0.15);
  transition: transform 0.2s ease, background 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
}

.blog-pagination .web3-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(to left, var(--primary-blue), var(--accent-gold));
}

.blog-pagination .web3-btn.active {
  background: linear-gradient(to right, #116ab3, #5fa8e0);
  color: #fff;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(17, 106, 179, 0.35);
  opacity: 1;
}

@media (max-width: 480px) {
  .blog-pagination {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/** Custom CSS For AP Crane Training **/
#goldbar {
      width: 100%;
        height: 10px;
background-color:gold;
padding:5px;
}


 hr {
    height:10px;
    border-width:0;
    color:gray;
    background-color:#ba830d
  }



/** button color **/
.cta {
            text-align: center;
            margin-top: 30px;
            padding: 20px;
            background: #ba830d;
            color: #fff;
            border-radius: 8px;
        }
        .cta a {
            display: inline-block;
            margin-top: 10px;
            padding: 10px 20px;
            background: #fff;
            color: #ba830d;
            text-decoration: none;
            font-weight: bold;
            border-radius: 5px;
        }
        .cta a:hover {
            background: #ddd;
        }



/* === Banner logo=== */
.custom-logo-left,
.custom-logo-right {

  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    top: 100px;
    z-index: 1000; /* Ensure the logos are in front of the banner */
  
}

.custom-logo-left {
    /* Move the logo 50% from the left edge */

}

.custom-logo-right {
    padding-top: 75px;
    right: 30px;

}
.hidden {
    opacity: 0;
    visibility: hidden;
}


/* === banner callout ===*/

  .custom-btn {
    background-color: #ba830d; /* Set the button color of the white from the button */
    color: #ffffff; /* White text color */
    border: none; /* Remove the default outline */
  }

  .custom-btn:hover {
    background-color: rgb(37, 40, 98); /* Darker blue on hover */
    color: white; /* Keep white text color */
  }

  /* Flexbox layout to keep boxes side by side, with stacking on small screens */
  .box-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
  }

  .box-container div {
    background-color: #ffffff; /* Box color */
    flex: 1;
    padding: 20px;
    border-radius: 10px; /* Rounded corners */
  }

  /* Media query to stack the boxes on smaller screens */
  @media (max-width: 768px) {
    .box-container {
      flex-direction: column;
      gap: 10px; /* Reduce space between boxes when stacked */
    }
  }

  /* Remove the white border line */
  .no-border {
    border: none;
  }





/* === Navbar === */

a { 
	color: #ba830d;
}

.navbar {
    position: sticky;
}

.navbar .navbar-brand {
    position: absolute;
    top: 0;
    padding-top: 0;
    margin-right: 0px;
}

.navbar-dark .navbar-nav .nav-link {
    text-transform: uppercase;
    font-weight: bold
}

.navbar-brand img {
    transition: all .25s ease;
    width: 200px;
padding-top: 100px;
}

.sticky-nav .navbar-brand img {
    width: 90px;
}

.sticky-nav {
    justify-content: center;
    width: 100%;
    display: block;
}

.navbar .logo-wrap {
    width: 0px;
}

.float-right {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.navbar-nav {
    transition: all .25s ease;
}

/* === Subheader === */

.hedbg {
    background-image: url('/images/all-purpose-safety-training-solutions-banner.jpg');
    position: relative;
    /* background-color: rgba(5, 19, 54, 0.6); */
    /* background-blend-mode: darken; */
}

.jumbotron {
    margin-bottom: 0;
}

.d-flex {
    gap: 20px;
}

.bg-warning {
    background-color: #fc9026;
}

/* === Mailing Form === */

#form69 {
    text-align: center !important;
}

#form69 #header>div {
    display: none;
}

.redesigned-theme-2018 .wufoo li {
    padding: 0px !important;
}

#form69 #header {
    margin-bottom: 20px !important;
    padding-bottom: 0px !important;
}

.redesigned-theme-2018 li>div,
.redesigned-theme-2018 li>div input,
.redesigned-theme-2018 li>span,
.redesigned-theme-2018 li>span input {
    width: 100%;
}

#form69 ul {
    max-width: 640px;
    margin: auto;
    width: 100%;
}

#form69 .buttons {
    margin-top: 20px;
}


@media (max-width: 1499px) {
    .navbar-nav {
        margin-left: 0px !important;
        padding-left: 160px;
    }

    .sticky-nav .navbar-nav {
        margin-left: 0px !important;
        padding-left: 120px;
    }
}

@media (max-width: 1399px) {
    .nav-link {
        font-size: 13px;
        line-height: 24px;
    }
}

@media (min-width: 1250px) {
    .visible-mobile {
        display: none;
    }
}

@media (max-width: 1249px) {
    .visible-desktop {
        display: none;
    }

    .mobile-cta {
        text-align: center;
        padding: 5px 0px;
        background: #000;
    }
}

@media (max-width: 999px) {
    .d-flex {
        display: block !important;
    }

    .d-flex a {
        width: 100%;
    }

    .d-flex>div+div {
        margin-top: 11px;
    }

}

@media (max-width: 991px) {

    .card-deck .card {
        margin: 0px 0px 20px;
    }
}

@media (min-width: 980px) {

    .toc-thumb>img {
        max-width: 100%;
    }
}

@media (max-width: 979px) {

    .toc-thumb>img {
        max-width: 100%;
        margin-bottom: 20px;
    }


    .navbar-brand img {
        width: 90px;
    }

    .navbar-expand-md .navbar-toggler {
        display: block;
    }

    .navbar {
        float: right;
        display: block;
        width: 100%;
    }

    .navbar-collapse:not(.show) .navbar-nav {
        display: none;
    }

    .navbar-toggler {
        margin-right: 0px;
        margin-left: auto;
    }

    .navbar-collapse.show .navbar-nav {
        display: block;
    }

    .navbar-nav {
        padding-left: 110px;
        margin-top: -40px;
    }
}

@media (min-width: 576px) {
    .card-deck .card {
        margin-left: 5px;
        margin-right: 5px;
    }
}