.description1 {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent background */
    text-align: center;
    padding: 5px 0;
}

.description1 p {
    margin: 0;
    color: black;
    font-weight: bold;
}

.thumb-info-wrapper {
    position: relative;
}

.thumb-info-wrapper img {
    display: block;
    width: 100%;
}

#noMargin{
    margin-bottom: 0px !important; 
}

.certificateImages {
    @media screen and (max-width: 759px) {
        max-width: 380px;
    }

    @media screen and (min-width: 760px) and (max-width: 1199px) {
        max-width: 200px;
    }

    @media screen and (min-width: 1200px) {
        max-width: 250px;
    }
}

.placeholder::placeholder{
    font-weight: bolder !important;
}


.video-container1 {
  max-width: 380px;
  width: 100%;
  max-height: 400px;
}

.video-vertical1 {
  position: relative;
  width: 100%;
  max-height: 500px;
  padding-top: 177.78%; /* 9:16 aspect ratio */
}

.video-vertical1 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 400px;
  border: 0;
}

@media (max-width: 768px) {
  .video-container1 {
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  .video-container1 {
  
  width: 100%;
  max-height: 500px;
}

.video-vertical1 {
  position: relative;
  width: 100%;
  max-height: 500px;
  padding-top: 177.78%; /* 9:16 aspect ratio */
}

.video-vertical1 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 500px;
  border: 0;
}
}

.dark-text-p{
    color: black !important;
}

.max-width-navbar {
    max-width: 1350px !important;
    
}

/* ============================================================
   DROPDOWN NAV FIX
   Add these rules to css/custom.css
   ============================================================ */

/* Prevent text wrapping in dropdown items */
.header-nav-main nav ul li.dropdown > ul.dropdown-menu {
    min-width: 230px !important;
    padding: 8px 0 !important;
    border-radius: 4px !important;
    border-top: 3px solid #f0a500 !important; /* matches site accent colour */
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}

.header-nav-main nav ul li.dropdown > ul.dropdown-menu li a {
    white-space: nowrap !important;
    padding: 8px 20px !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    color: #333 !important;
    display: block !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.header-nav-main nav ul li.dropdown > ul.dropdown-menu li a:hover {
    background-color: #f8f8f8 !important;
    color: #f0a500 !important;
    padding-left: 26px !important;
}

/* "View All Areas →" link — make it stand out slightly */
.header-nav-main nav ul li.dropdown > ul.dropdown-menu li:last-child a {
    border-top: 1px solid #eee !important;
    margin-top: 4px !important;
    padding-top: 10px !important;
    color: #f0a500 !important;
    font-weight: 600 !important;
}