/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.1.12
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

.elementor-sticky--effects .sticky-menu {
	background: #fff !important;
}

.td-content, .td-content a {
  display: inline !important;
  line-height: 24px !important;
}

.single-course .singleCourseLI li {
    margin-block-end: 10px !important;
}

.elementor-pagination .page-numbers {
	color: #194168;
	padding: 10px 15px;
	border: 2px solid #194168;
	text-decoration: none;
	border-radius: 20px; 
}
.elementor-pagination .page-numbers:hover,
.elementor-pagination .page-numbers.current {
	background: #194168;
	color: #fff;
}
.elementor-pagination {
    margin-top: 50px;
}



@media (min-width: 1024px) and (max-width: 1299px) {
    #content .e-con {
        --container-max-width: 1000px;
    }
    dd, dl, dt, li, ol, ul, p, .wpcf7 input, .wpcf7 select, .wpcf7 textarea, 
    .enroll-sticky-button > * {
        font-size: 14px;
    }
    .header-search-container .search-bar {
        /*top: 19% !important;*/
        max-width: 650px !important;
    }
    .aboutHedingTitle h1, .homeHeaderText h1 {
        font-size:37px !important;
    }
    .homeLearnerRating p {
        font-size: 40px;
    }
    .homeReviewText p {
        font-size: 22px;
    }
    .homeReviewsDesc p, .aboutCoreValues p {
        font-size: 16px;
    }
    .homeGoogleText p {
        font-size: 20px;
    }
    .aboutSDAText p, .aboutFutureText p {
        font-size: 50px;
    }
    .aboutCoreValues {
        min-height: 72px;
    }
    .aboutCounter .elementor-counter-title {
        line-height: 1.2;
    }
    .aboutJourneyCounter .elementor-counter-title {
        font-size: 14px !important;
    }
    .aboutJourneyCounter .elementor-counter-number-wrapper {
        font-size: 45px !important;
    }
    .corporateTrainingText p, #AILPForm p {
        font-size: 28px;
        line-height: 31px;
        font-family: "Open Sans", Sans-serif;
    }
    .textFifty p {
        font-size: 50px;
    }
}
.aboutJourneyCounter .elementor-counter-title {
    text-align: center;
}
@media (min-width: 1025px) and (max-width: 1480px) {
    /*Course Inner page top section banner width*/
     #content .courseInnerTopSection.e-con  {
        --container-max-width: 1200px !important;
    }
}
@media (min-width: 1025px) and (max-width: 1420px) {
    #content .courseInnerTopSection.e-con  {
        padding-left: 10%;
    }
}
@media (min-width: 1300px) {
    .aboutCoreValues {
        min-height: 54px;
    }
}



/* Menu nav search styling */
/* --------- Search bar fixed full-width, hidden by default --------- */
.header-search-container { position: relative; z-index: 99999; }
/* force hidden on load */
.header-search-container .search-bar {
  display: none;
  /*position: fixed;*/
  /*left: 50% !important;*/
  /*transform: translateX(-50%);*/
  /*top: 9%;*/
  position: absolute;
  top: 100%;           /* directly below the icon */
  right: 0;
  width: 800px;
  max-width: 800px;
  box-sizing: border-box;
  background: #ffffff;
  padding: 18px 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  border-radius: 0 0 8px 8px;
  z-index: 99999;
  overflow: visible;
}
.header-search-container .search-bar.display {
  display: block;
}
.header-search-container .search-bar input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #efefef;
}
.header-search-btn {
  color: #000;
  width: 44px;
  height: 44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  cursor:pointer;
}
.header-search-btn svg { fill: #000 !important; width:18px; height:18px; }
#datafetch a, #datafetchmobile a {
	color: #000;
	text-decoration: none;
	font-weight: 500;
	line-height: 30px;
	font-size: 14px;
}
.header-search-container button {
	border: none;
	background-color: rgb(255,255,255,0);
	color: #fff;
}
/* Mobile styling */
.mobile-search-container {
    width: 100%;
    padding: 12px 15px;
    box-sizing: border-box;
}
.mobile-search-container input#keyword_mobile {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
}
#datafetch_mobile {
    margin-top: 10px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #ccc;
    display: none;
}
#datafetch_mobile .search-result-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
}
#datafetch_mobile .search-result-item:last-child {
    border-bottom: none;
}
/* Only show/format inside mobile menu */
@media (max-width: 1024px) {
  .mobile-search-placeholder {
    width: 100%;
    padding: 8px 16px;
    box-sizing: border-box;
  }
  .mobile-search-placeholder a { display: none; }
  .mobile-search-container-inmenu {
    width: 100%;
    background: #fff;
    padding: 20px 20px 5px 20px;
  }
  .mobile-search-container-inmenu input#keyword_mobile {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 15px;
    box-sizing: border-box;
  }
  #datafetch_mobile {
    display: none; /* JS will show when results exist */
    margin-top: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    max-height: 320px;
    overflow-y: auto;
  }
  #datafetch_mobile .search-result-item {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f1f1;
  }
}




/*Hompage H1 - Fancy flip text up and down*/
/* Base desktop styling */
#fancyText .vert-carousel-row {
  display: flex;
  align-items: center;
  font-family: "Open Sans", sans-serif;
  font-size: 38px;
  height: 38px;
  margin: 0;
}
#fancyText .vc-static {
  color: #194168;
  font-weight: 700;
  margin-right: 10px;
}
#fancyText .vert-carousel {
  overflow: hidden;
  height: 38px;
}
#fancyText .vc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.3s ease;
}
#fancyText .vc-list li {
  line-height: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  color: #00ab84;
  font-weight: 700;
}
/* Mobile version */
@media (max-width: 767px) {
  #fancyText .vert-carousel-row {
    font-size: 21px;
    height: 21px;
  }

  #fancyText .vert-carousel {
    height: 21px;
  }

  #fancyText .vc-list li {
    line-height: 21px;
    height: 21px;
  }
}





/* Homepage styling - 6 UPS Accordion*/
@media screen and (max-width: 900px) {
    .accordion-row-container {
        display: contents !important;
    }
    .custom-accordion-item.expanded {
        display: flex !important;
        width: 100% !important;
    }
    .custom-accordion-item.collapsed {
        width: 100% !important;
    }
}
.accordion-row-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    position: relative;
    align-items: stretch;
}
.custom-accordion-item {
    cursor: pointer;
}

/* Collapsed State */
.custom-accordion-item.collapsed {
    background-color: #ffffff;
    width: 16.6%;
}
.custom-accordion-item.collapsed .accordion-title {
    color: #000000 !important;
    margin-bottom: 45px !important;
}
.custom-accordion-item.collapsed .accordion-title * {
    color: #000000 !important;
}
.custom-accordion-item.collapsed .accordion-image img {
    filter: brightness(0) saturate(100%) invert(64%) sepia(83%) saturate(449%) hue-rotate(119deg) brightness(91%) contrast(101%);
}
.custom-accordion-item.collapsed .accordion-content {
    display: none !important;
}
.custom-accordion-item.collapsed .accordionDivider {
    display:none;
}
.custom-accordion-item.collapsed .accordion-icon {
    background-color: transparent;
    color: #000000;
    border: 2px solid #000000;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    /*transition: all 0.3s ease;*/
    transition: all .2s ease-in-out;
}
.custom-accordion-item.collapsed .accordion-icon:hover {
    background-color: #FFD700;
    color: #ffffff;
    border-color: #FFD700;
}
.custom-accordion-item.collapsed .accordion-icon::before {
    content: '+';
}

/* Expanded State */
.custom-accordion-item.expanded {
    background-color: #113A5F !important;
    width: 30%;
    background-image: none !important;
}
.custom-accordion-item.expanded .accordion-title {
    color: #ffffff !important;
}
.custom-accordion-item.expanded .accordion-title * {
    color: #ffffff !important;
}
.custom-accordion-item.expanded .accordion-image img {
    filter: brightness(0) invert(1);
}
.custom-accordion-item.expanded .accordion-content {
    display: block;
    color: #ffffff;
    margin-top: 15px;
    margin-bottom: 30px !important;
}
.custom-accordion-item.expanded .accordion-icon {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}
.custom-accordion-item.expanded .accordion-icon::before {
    content: '×';
}

/* Layout Styles */
.accordion-header {
    display: flex;
    align-items: flex-start; 
    gap: 15px;
    position: relative;
}
.accordion-image img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: filter 0.3s ease;
}
.accordion-title {
    flex: 1;
    margin: 0;
    transition: color 0.3s ease;
}




/* Contact Form 7 Styling */
.wpcf7 input, .wpcf7 select, .wpcf7 textarea {
    border: none !important;
    border-bottom: 1px solid #001932 !important;
	background: none;
}
.form-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}
.form-col, .form-col.full.courses-form-wrapper {
    width: 100%;
}
.form-col.name-field,
.form-col.contact-field,
.form-col.email-field,
.form-col.inquiry-field,
.form-col.professional-cert,
.form-col.company-field {
    width: calc(50% - 10px);
}
#AILPForm .form-col.email-field {
    width: 100%;
}
#AILPForm .wpcf7 form>div {
    margin-bottom: 0;
}
.page-id-52647 #site-header {
    display: none;
}
#corporateTrainingForm .form-wrapper, #AILPForm .form-wrapper {
    gap: 10px;
}
#corporateTrainingForm p, #AILPForm p {
    margin-block-end: 0;
}
#AILPForm .wpcf7 .form-col.acceptance span[for="accept-this"],
#AILPForm .btn-wrapper a, 
#AILPForm .btn-wrapper a:hover {
    color: #fff !important;
    font-family: 'Helvetica';
    font-size: 10px;
}
#corporateTrainingForm .wpcf7 input, 
#corporateTrainingForm .wpcf7 textarea,
#AILPForm .wpcf7 input,
#AILPForm .wpcf7 textarea {
    background: #fff !important;
    border: 1px solid #e7e7e7 !important;
    font-size: 10px !important;
}
#corporateTrainingForm .form-col label {
    color: #515151;
    font-weight: 700;
}
#AILPForm .form-col label {
    color: #fff;
    font-weight: 700;
}
#corporateTrainingForm .btn-col input {
    background: #28BDBF !important;
    color: #fff;
    border: 1px solid #28BDBF !important;
    font-size: 13px !important;
}
#corporateTrainingForm .btn-col input:hover {
    color: #28BDBF !important;
    background: #fff !important;
}
#AILPForm .btn-col input{
    background: #F37228 !important;
    color: #fff;
    border: 1px solid #F37228 !important;
    font-size: 13px !important;
}
#AILPForm .btn-col input:hover {
    color: #F37228 !important;
    background: #fff !important;
}
@media (min-width: 1024px) {
    #corporateTrainingForm .btn-wrapper,
    #AILPForm .btn-wrapper {
        display: flex;
    }
    #corporateTrainingForm .acceptance-col,
    #AILPForm .acceptance-col {
        flex: 1 1 75%;
    }
    #corporateTrainingForm .btn-col,
    #AILPForm .btn-col {
        flex: 1 1 20%;
        margin-top: 2%;
    }
    #corporateTrainingForm .wpcf7 textarea,
    #AILPForm .wpcf7 textarea {
        height: 70px;
    }
}
/* Ensure the acceptance checkbox and the send button are on the same row */
.flex.btn-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
}
.acceptance-col {
    flex: 1 1 75%;
    font-size: 12px;
}
.form-col.full.acceptance {
    font-size: 10px;
}
.btn-col {
    flex: 1 1 30%;
    display: flex;
    justify-content: flex-start;
}
.wpcf7 .btn {
    width: 100%;
    padding: 10px 30px;
    background-color: #28BDBF !important;
    color: white;
    border-radius: 10px;
}
.wpcf7 .btn:hover {
    background-color: #fff !important;
    color: #28BDBF;
    border: 1px solid #28BDBF !important;
}
.wpcf7 input, .wpcf7 select, .wpcf7 textarea {
    color: #000;
}
.wpcf7 label, .wpcf7 .form-col.acceptance span[for="accept-this"] {
    color: #959595;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1;
}
#wpcf7-f42485-p42479-o1 label,
#wpcf7-f50080-p42525-o1 label,
#corporateTrainingForm label,
#AILPForm label{
    margin-right: 20px !important;
    /* margin-left: 20px; */
    letter-spacing: 0.5px;
}
.wpcf7 input[type="file"] {
    border-bottom: none !important;
}
@media (max-width: 768px) {
    .form-col {
        width: 100% !important;
    }
    .flex.btn-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .acceptance-col {
        width: 100%;
    }
    .btn-col {
        width: 100%;
        justify-content: center;
    }
    .wpcf7 label, .wpcf7 .form-col.acceptance span[for="accept-this"] {
        font-size: 12px !important;
    }
}
/*Homepage Enquiry Form Styling*/
.homepageEnquiry .wpcf7 input, .homepageEnquiry .wpcf7 select, .homepageEnquiry .wpcf7 textarea {
    border-bottom: 1px solid #ffffff !important;
}
.homepageEnquiry .wpcf7 input, .homepageEnquiry .wpcf7 select, .homepageEnquiry .wpcf7 textarea, .homepageEnquiry .wpcf7 label {
    color: #ffffff;
    font-size: 14px;
}
.homepageEnquiry input::placeholder, .homepageEnquiry textarea::placeholder {
  color: white;
}
.homepageEnquiry .wpcf7 label {
    font-size: 11px;
}
.homepageEnquiry a {
    color: #fff;
    text-decoration: underline !important;
}
.homepageEnquiry a:hover {
    color: #fff;
}


/* CF7 - Multi-select dropdown checkbox*/
.multiselect-wrap {
  overflow: visible !important;
  z-index: auto !important;
  /*max-height: none !important;*/
  position: relative;
  width: 100%;
}
.multiselect-wrap .wpcf7-checkbox {
  display: none;            /* hidden by default - JS toggles */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  min-width: 300px;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 999;
}
.multiselect-wrap.open .wpcf7-checkbox {
  display: block;           /* show dropdown */
}
.multiselect-trigger {
  cursor: pointer;
}
.multiselect-wrap .arrow.down {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #666;
    pointer-events: none;
}
/*.wpcf7 .form-col.acceptance span[for="accept-this"] {*/
/*    font-size: 11px;*/
/*    line-height: 1.5;*/
/*}*/

.single-course .form-col.full.acceptance {
    font-size: 11px;
}
@media screen and (max-width:767px) {
    .homepageEnquiry .form-wrapper, .form-wrapper {
        gap: 5px;
    }
    button, input, optgroup, select, textarea {
        font-size: 14px !important;
    }
    .wpcf7 textarea {
        height: 60px;
        overflow: scroll;
    }
    .grecaptcha-badge {
        display: none;
    }
    .single-course .cky-revisit-bottom-left {
        bottom: 70px;
    }
}
@media (min-width: 1024px) {
    .wpcf7 textarea {
        height: 60px;
    }
    .homepageEnquiry p {
        margin-block-end: 0;
    }
}








/* Homepage banner styling */
@media (min-width: 1750px) {
    .elementor-13 .elementor-element.elementor-element-43f4f3d {
        margin-left: 150px;
    }
}



/* single course page cert border animation */
.animated-border-box, .animated-border-box-glow{
    max-height: 104%;
    max-width: 104%;
    height: calc(100% + 6px);
    width: calc(100% + 6px);
    position: absolute;
    overflow: hidden;
    z-index: 0;
    border-radius: 10px;
    top: -3px;
    left: -3px;
}
.animated-border-box-glow{
    overflow: hidden;
     /*Glow Blur */
    filter: blur(20px);
}
.animated-border-box::before, .animated-border-box-glow::before {
    content: '';
    z-index: -2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    position: absolute;
    width: 99999px;
    height: 99999px;
    background-repeat: no-repeat;
    background-position: 0 0;
    /*border color, change middle color*/
    background-image: conic-gradient(rgba(0,0,0,0), #0865FF, rgba(0,0,0,0) 25%);
    /* change speed here */
    animation: rotate 4s linear infinite;
}
.animated-border-box::after {
    content: '';
    position: absolute;
    z-index: -1;
/* border width */
    left: 5px;
    top: 5px;
/* double the px from the border width left */
    /* width: calc(100% - 10px); */
    height: calc(100% - 10px);
    background: #292a2e;
    border-radius: 7px;
}
@keyframes rotate {
    100% {
        transform: translate(-50%, -50%) rotate(1turn);
    }
}
.fitContentHeight {
    height: fit-content;
}

/*@property --a {*/
/*    syntax: '<angle>';*/
/*    initial-value: 0deg;*/
/*    inherits: true;*/
/*}*/
/*.box{*/
/*    position: relative;*/
/*    background: conic-gradient(from var(--a), rgba(0,0,0,0), #0865FF, rgba(0,0,0,0) 25%);*/
/*    animation: animate 4s linear infinite;*/
/*}*/
/*@keyframes animate {*/
/*    0%{*/
/*        --a: 0deg;*/
/*    }*/
/*    100%{*/
/*        --a: 360deg;*/
/*    }*/
/*}*/
/*.box::before{*/
/*    content: '';*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    border-radius: 10px;*/
/*    background: conic-gradient(from var(--a), transparent 0deg, #0865FF 6deg, transparent 12deg);*/
/*    animation: animate 4s linear infinite;*/
/*    animation-delay: -1s;*/
/*}*/
/*.box::after{*/
/*    content: '';*/
/*    position: absolute;*/
/*    width: 96%;*/
/*    height: 96%;*/
/*    background: #ffffff;*/
/*    left: 50%;*/
/*    top: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*    border-radius: 10px;*/
/*}*/



@media (min-width: 1024px) {
    :where(.elementor-widget-n-menu .e-n-menu-content>.e-con) {
        background-color: #ffffff00;
    }
}


/* Floating up-and-down animation */
.floating-element {
  animation: float 3s ease-in-out infinite alternate;
}
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px); /* Adjust this value for desired height */
  }
  100% {
    transform: translateY(0);
  }
}

/* --- New Zoom-out effect --- */
.zoom-out {
  animation: zoomOut 0.8s ease-out forwards;
}
@keyframes zoomOut {
  0% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
/* Combine both effects */
.floating-element.zoom-out {
  /* Zoom out first, then start floating */
  animation:
    zoomOut 0.8s ease-out forwards,
    float 3s ease-in-out 0.8s infinite alternate; /* delay float until zoomOut ends */
}


/* Hover zoom effect */
.hoverZoom:hover {
  transform: scale(1.1);
}
.hoverZoom {
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}



/* Word-by-word fade in animation - text opacity styling*/
.split-opacity-scroll h1,
.split-opacity-scroll h2,
.split-opacity-scroll h3,
.split-opacity-scroll h4,
.split-opacity-scroll h5,
.split-opacity-scroll h6 {
  font-size: inherit; 
}
.split-opacity-scroll {
  will-change: opacity, filter;
  transition: none;
}
.split-opacity-scroll .word {
  display: inline-block;
}
.split-opacity-scroll .letter {
   display: inline-block;
  will-change: opacity;
  vertical-align: baseline;
  line-height: inherit; 
  font: inherit;
  opacity: 0.2;
}


/* === Spinning Wheel Section === */
/* .slider-section {
	position: relative;
	height: 100vh; 
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #e34f37; 
}
.wheel {
	position: absolute;
	bottom: -45%; 
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 120vw; 
	height: 120vw;
	max-width: 900px;
	max-height: 900px;
}
.wheel__card {
	position: absolute;
	top: 0;
	left: 0;
	width: 20%;
	max-width: 200px;
	aspect-ratio: 1 / 1;
	transform-origin: center center;
}
.wheel__card img {
	width: 100%;
	height: auto;
    object-fit: cover;
	pointer-events: none;
	user-select: none;
}
@media (max-width: 768px) {
	.wheel {
		width: 90vw;
		height: 90vw;
	}
	.wheel__card {
		width: 25%;
		max-width: 120px;
	}
} */
/* End wheel scrolling effect */






/* GSAP zoom in effect */
.slider-section {
  position: relative;
  height: 180vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}
.slider-section .wheel {
  position: relative;
  width: 1000px;
  height: 300px; /* shallower arc */
}
.wheel__card {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 180px;
  height: 180px;
  overflow: hidden;
  border-radius: 16px;
}
.wheel__card img {
  width: 60%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  will-change: transform, width;
  transition: transform 0.3s ease;
}





/* SUCCESS STORIES VIDEO CAROUSEL */
.ss-video-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}
@supports (aspect-ratio: 16 / 9) {
    .ss-video-card {
        /*height: auto;*/
        padding-bottom: 0;
        aspect-ratio: 16 / 9;
        /*min-height: 250px;*/
    }
}
/* Video / iframe / YouTube Player */
.ss-video-preview,
.ss-youtube-embed,
.ss-youtube-player,
.ss-youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
/* Video Overlay */
.ss-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    z-index: 2;
    transition: background 0.3s ease;
}
.ss-video-card:hover .ss-video-overlay {
    background: rgba(0, 0, 0, 0.5);
}
@media (min-width: 1024px) {
    .ss-video-overlay {
        padding: 25px 30px;
    }
}
/* Content */
.ss-video-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 60%;
}
.ss-video-testimonial {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    color: #fff;
    letter-spacing: 0.3px;
    margin: 0;
}
.ss-video-learner-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-top: 8px;
}
.ss-video-learner-job {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
}
/* Play Button */
.ss-video-cta {
    margin-top: auto;
}
.ss-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease;
    font-family: inherit;
}
.ss-video-card:hover .ss-play-btn {
    transform: translateX(4px);
}
.ss-play-text {
    position: relative;
    background-size: 0 1px;
    background-position: 0% 1.1em;
    transition: background-size 0.5s ease;
}
.ss-play-text:hover, .ss-play-btn:hover {
    background-color: rgba(0, 0, 0, 0.5) !important;
}
.ss-arrow-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
}
/* LIGHTBOX */
.ss-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    align-items: center;
    justify-content: center;
}
.ss-lightbox.ss-active {
    display: flex !important;
}
.ss-lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1;
    cursor: pointer;
}
.ss-lightbox-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    z-index: 2;
    padding: 20px;
}
.ss-lightbox-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.ss-lightbox video,
.ss-lightbox iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ss-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 32px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
    line-height: 1;
}
.ss-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}
@media screen and (max-width: 767px) {
    .ss-lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    .ss-video-testimonial {
        font-size: 14px;
    }
}
.swiper-horizontal>.swiper-pagination-bullets, 
.swiper-pagination-bullets.swiper-pagination-horizontal, 
.swiper-pagination-custom, .swiper-pagination-fraction {
    left: 50% !important;
    transform: translateX(-50%);
}
.elementor-element.elementor-pagination-position-outside .swiper {
    padding-bottom: 40px !important;
}
body.ss-lightbox-open {
    overflow: hidden !important;
}
/* CAROUSEL - Let Elementor Handle Breakpoints */
/* Hide ACF Widgets */
.video-url,
.testimonial,
.learner-name,
.job-title {
    display: none !important;
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}
/* Slide Heights */
.SSLoopCarousel .swiper-slide {
    height: auto !important;
}
.SSLoopCarousel .swiper-slide > * {
    width: 100%;
    height: 100%;
}





/* floating animation page - https://sda.edu.sg/rs-ntuc-utap/ */
@-webkit-keyframes moving-vertical-2 {
     0% {
         -webkit-transform: translateY(0);
    }
     50% {
         -webkit-transform: translateY(-10%);
         transform: translateY(-10%);
    }
     100% {
         -webkit-transform: translateY(0);
         transform: translateY(0);
    }
}
 @keyframes moving-vertical-2 {
     0% {
         -webkit-transform: translateY(0);
    }
     50% {
         -webkit-transform: translateY(-10%);
         transform: translateY(-10%);
    }
     100% {
         -webkit-transform: translateY(0);
         transform: translateY(0);
    }
}
@-webkit-keyframes moving-vertical-3 {
  0% {
    -webkit-transform: translateY(0); }
  50% {
    -webkit-transform: translateY(10%);
    transform: translateY(10%); }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0); 
  }
}
.moving-vertical-1 {
 -webkit-animation: moving-vertical-2 3s ease-in-out infinite both;
 animation: moving-vertical-2 3s ease-in-out infinite both;
}
.moving-vertical-2 {
 -webkit-animation: moving-vertical-2 8s ease-in-out infinite both;
 animation: moving-vertical-2 8s ease-in-out infinite both;
}
.moving-vertical-3 {
 -webkit-animation: moving-vertical-2 5s ease-in-out infinite both;
 animation: moving-vertical-2 5s ease-in-out infinite both;
}
.moving-vertical-4 {
 -webkit-animation: moving-vertical-2 6s ease-in-out infinite both;
 animation: moving-vertical-2 6s ease-in-out infinite both;
}
.moving-vertical-5 {
 -webkit-animation: moving-vertical-2 7s ease-in-out infinite both;
 animation: moving-vertical-2 7s ease-in-out infinite both;
}
.moving-vertical-6 {
-webkit-animation: moving-vertical-2 10s ease-in-out infinite both;
      animation: moving-vertical-2 10s ease-in-out infinite both; 
}
.moving-vertical-7 {
  -webkit-animation: moving-vertical-3 10s ease-in-out infinite both;
          animation: moving-vertical-3 10s ease-in-out infinite both; 
}




/*floating animation for general Course pages*/
div[class*="ani-ele"] > img {
    transition-delay: 1s!important;
}
.ani-ele-1 {
    -webkit-animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation: ani-moving-vertical-2 6s ease-in-out infinite both;
}
.ani-ele-2 {
    -webkit-animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation-delay: .4s;
}
.ani-ele-3 {
    -webkit-animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation-delay: .8s;
}
.ani-ele-4 {
    -webkit-animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation-delay: 1.2s;
}
.ani-ele-5 {
    -webkit-animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation-delay: 1.6s;
}
.ani-ele-6 {
    -webkit-animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation-delay: 2s;
}
.ani-ele-7 {
    -webkit-animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation-delay: 2.4s;
}
.ani-ele-8 {
    -webkit-animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation-delay: 2.8s;
}
.ani-ele-9 {
    -webkit-animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation-delay: 3.2s;
}
.ani-ele-10 {
    -webkit-animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation-delay: 3.4s;
}
.ani-ele-11 {
    -webkit-animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation: ani-moving-vertical-2 6s ease-in-out infinite both;
        animation-delay: 3.6s;
}
@keyframes ani-moving-vertical-2 {
    0% {
        -webkit-transform: translateY(0);
    }
    50% {
        transform: translateY(-15%);
    }
    100% {
        transform: translateY(0);
    }
}






/*Gradient text styling - autoplay + mouse hover effect*/
.mouse-gradient-text {
  color: transparent;
  /*background-image: linear-gradient(*/
  /*  90deg,*/
  /*  #1a73e8,*/
  /*  #f7931e,*/
  /*  #e91e63*/
  /*);*/
  background-image: linear-gradient(90deg, #194168, #28BDBF, #194168);
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  display: inline-block;
  cursor: default;
}
/*Skills For Everyone Text*/
/*.skillsHeadingGradient {*/
/*  font-family: 'Designer', sans-serif !important;*/
/*  background: linear-gradient(90deg, #194168 28.85%, #28BDBF 51.44%, #194168 77.88%);*/
/*  -webkit-background-clip: text;*/
/*  -webkit-text-fill-color: transparent;*/
/*  background-clip: text;*/
/*  color: transparent;*/
/*}*/











/*About Us -Vertical Slider*/
/* COLUMN 1: IMAGE SLIDER */
.elementor-editor-active .vfaces-slider *,
.elementor-editor-active .vface-slide,
.elementor-editor-active .vface-slide *,
.elementor-editor-active .vface-img,
.elementor-editor-active .vface-img img {
    transition: none !important;
    animation: initial !important;
}
.elementor-editor-active .vfaces-slider {
    height: 100%;
}
.vfaces-slider {
  position: relative;
  height: 550px;
  overflow: hidden;
}
.vfaces-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
/* Prevent Elementor container drag-interference */
.vfaces-wrapper,
.vface-slide,
.vface-img,
.vface-img img {
    touch-action: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
    -webkit-touch-callout: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    pointer-events: auto !important;
}
/* Each slide position (absolute stack) */
.vface-slide {
  position: absolute;
  left: 50%;
  width: 160px; 
  height: 160px;
  transform: translateX(-50%);
  /*transition: all 0.6s ease;*/
  /*transition: opacity 0.6s ease, transform 0.6s ease, top 0.6s ease;*/
  opacity: 0;
}
.elementor-editor-active .vface-slide {
  position: relative; /* avoid absolute stacking in editor */
  left: auto;
  top: auto;
  transform: none;
  opacity: 1;
  /*transition: all 0.6s ease;*/
  transition: none;
  z-index: auto;
    display: block;
}
/* Round image */
.vface-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  /*display: block !important;*/
  /*flex: 0 0 auto !important;*/
  /*align-self: center !important;*/
}
.vface-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  /*transition: all 0.6s ease;*/
  /*transition: opacity 0.1s ease, clip-path 0.6s ease;*/
}
/* ACTIVE SLIDE */
.vface-slide.active {
  top: 47%;
  transform: translate(-50%, -50%);
  opacity: 1;
  z-index: 3;
}
.vface-slide.active .vface-img img {
  clip-path: circle(50% at 50% 50%);
  opacity: 1;
}
/* PREVIOUS SLIDE */
.vface-slide.prev {
  top: 5%;
  opacity: 0.7;
  z-index: 2;
  transform: translate(-50%, -50%);
}
.vface-slide.prev .vface-img img {
  /*clip-path: inset(30% 0 0 0);*/
    opacity: 0.25;
}
/* NEXT SLIDE */
.vface-slide.next {
  top: 90%;
  transform: translate(-50%, -50%);
  opacity: 0.7;
  z-index: 2;
}
.vface-slide.next .vface-img img {
  /*clip-path: inset(0 0 20% 0);*/
    opacity: 0.25;
}
/* NON-ADJACENT SLIDES */
.vface-slide.hidden {
  opacity: 0;
  pointer-events: none;
}
/* COLUMN 2: CONTENT SYNC */
.vfaces-content-area {
  position: relative;
}
.vface-content {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.elementor-editor-active .vface-content {
  display: block;
  opacity: 1;
}
.vface-content.active {
  display: block;
  opacity: 1;
}
/* COLUMN 3: ARROW BUTTONS IMG */
.vfaces-arrows {
  position: relative;
}
.vfaces-arrows img {
  cursor: pointer;
  opacity: .5;
  transition: .3s;
}
.vfaces-arrows img:hover {
  opacity: 1;
}
.vface-slide.js-controlled {
  top: auto !important;
  /* keep left centering */
  left: 50%;
  transform: translateX(-50%) !important;
}
/* override top on active/prev/next when js-controlled is on */
.vface-slide.js-controlled.active,
.vface-slide.js-controlled.prev,
.vface-slide.js-controlled.next {
  top: auto !important;
}




@media (min-width: 1000px) {
  
}





/*Mobile banner top section*/
@media screen and (max-width: 768px) {
    .mobileBanner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(230, 250, 248, 0.8);
}
}



@media (min-width: 1024px) {
    .courseInnerCertHeading h2 {
        font-size: 22px;
        letter-spacing: -1px;
    line-height: 25px;
    }
}




/*.preview-row {*/
/*    display: flex;*/
/*    gap: 12px;*/
/*}*/

/*.preview-row img {*/
/*    max-width: 220px;*/
/*    cursor: pointer;*/
/*}*/

/*.lightbox-caption {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    padding-top: 10px;*/
/*}*/

/*.lightbox-caption .facility-name {*/
/*    font-weight: 600;*/
/*}*/

/*.lightbox-caption .facility-capacity {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 6px;*/
/*}*/




/*Onward SG page - Initiatives post*/
.initiative-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-weight: 500;
}
.initiative-tab {
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 10px;
    color: #4d4d4d;
    background: #ffffff;
    box-shadow: 0px 4px 18px 0px #00000017;
}
.initiative-tab.active, .initiative-tab:hover {
    background: #fff;
    color: #00AB84;
    border: 1px solid #18E4A2;
}

#filter-year, #filter-month, #initiative-search {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
}

.initiative-filters hr {
    margin: 10px 0;
}

.initiative-pagination button.active {
    background: #194168 !important;
    color: white !important;
    border: none !important;
}

/* Results grid */
#initiative-results .initiative-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.initiative-date, .initiative-category {
    padding: 6px 15px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    border-radius: 100px;
}
.initiative-date {
    color: #00AB84;
    background: #E6FCF5;
    text-wrap-mode: nowrap;
    align-content: center;
}
.initiative-category {
    color: #0865FF;
    background: #ECF4FF;
}




/*.initiative-meta {*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    align-items: center;*/
/*}*/
/*.initiative-categories {*/
/*    display: flex;*/
/*    gap: 8px;*/
/*    flex-wrap: wrap;*/
/*    margin-bottom: 14px;*/
/*}*/

/*.initiative-category {*/
/*    background: #E9F8F3;*/
/*    color: #00AB84;*/
/*    font-size: 13px;*/
/*    padding: 4px 10px;*/
/*    border-radius: 20px;*/
/*    white-space: nowrap;*/
/*}*/





.initiative-grid { 
    display:block; 
    grid-template-columns:repeat(3,1fr); 
    gap:24px; 
}
.initiative-item { 
    display:flex; 
    flex-direction:column; 
    height:100%;
}
.initiative-meta { 
    display:flex; 
    gap:12px; 
    font-size:14px; 
    color:#555; 
}

/* Individual card */
#initiative-results .initiative-item {
    background: rgb(255 255 255 / 30%);
    border: 2px solid #ffffff;
    padding: 20px;
    border-radius: 20px;
}
.initiative-gallery {
    margin-bottom: 10px;
}
.gallery-row-1 img {
    width:100%;
    height: 20vw;
    object-fit: cover;
    border-radius: 20px;
}
.gallery-row-2 img, .gallery-row-3 img, .gallery-row-4 img {
    height: 7vw;
    object-fit: cover;
    border-radius: 10px;
    width: 100%;
}
/* Only posts with 1 image */
.initiative-gallery.single-image .gallery-row-1 img {
    height: 28vw;
    object-fit: cover;
    width: 100%;
    border-radius: 12px;
}

.gallery-row-2 { 
    display:grid; 
    grid-template-columns:repeat(3,1fr); 
    gap:8px; 
}
.initiative-item h3 {
    color: #001932;
    font-size: 17px;
}
.initiative-desc {
    color: #6E6E6E;
    font-size: 14px;
}
.initiative-readmore { 
    margin-top:auto; 
    align-self:flex-end; 
    display:inline-flex; 
    gap:8px;
    
}
.initiative-item a {
    color: #28BDBF;
}
.initiative-item a:hover {
    color: #28BDBF;
}
.initiative-readmore img {
    width: 10px;
}

/* Pagination */
.initiative-pagination {
    margin-top: 50px;
    text-align: center;
}
.initiative-page {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 6px;
    cursor: pointer;
    border: 2px solid #00AB84;
    font-size: 14px;
    color: #194168;
    border-radius: 100px;
}
.initiative-page.active {
    background: #194168;
    color: #fff;
    border-color: #000;
}

.initiative-filter-wrap {
    position: relative;
}

.initiative-filter-toggle {
    /*background: none;*/
    /*border: 1px solid #ccc;*/
    padding: 8px 14px;
    cursor: pointer;
}
.filter-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff url("data:image/svg+xml;utf8,<svg fill='%23333' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>")
        no-repeat right 14px center !important;
    background-size: 22px !important;
    padding: 10px 38px 10px 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
}

/* Default (down arrow) */
.initiative-filter-toggle, .initiative-filter-wrap button {
    background: #fff url("data:image/svg+xml;utf8,<svg fill='%23333' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>")
        no-repeat right 14px center !important;
    background-size: 22px !important;
    padding: 8px 38px 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
}


/* Open (up arrow) */
.initiative-filter-wrap.active .initiative-filter-toggle {
    background: #fff url("data:image/svg+xml;utf8,<svg fill='%23333' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 14l5-5 5 5z'/></svg>")
        no-repeat right 14px center !important;
}


.initiative-filters {
    position: absolute;
    top: 110%;
    right: 0;
    width: 300px;
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    display: none;
    z-index: 99;
}

.initiative-filters.open {
    display: block;
}

.initiative-filters select {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.filter-title {
    font-weight: 700;
    /*margin-bottom: 15px;*/
}

.initiative-filter-wrap button {
    border-radius: 10px;
    border: none;
    box-shadow: 0px 4px 18px 0px #00000017;
    color: #4D4D4D;
    background: #fff;
    width: 100%;
}


.initiative-search-wrapper {
    position: relative;
    display: inline-block;
    /*width: 280px; */
}
#initiative-search {
    width: 100%;
    padding: 10px 40px 10px 15px;
    font-size: 14px;
    border-radius: 40px;
    border: 1px solid #ccc;
}
.search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #999;
    width: 14px;
    pointer-events: none; /* so clicks pass through */
}

@media screen and (max-width:767px) {
    .gallery-row-1 img, .initiative-gallery.single-image .gallery-row-1 img {
        height: 50vw;
    }
    .gallery-row-2 img, .gallery-row-3 img, .gallery-row-4 img {
        height: 17vw;
    }
    #initiative-results .initiative-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .initiative-tabs {
        flex-wrap: wrap;
    }
    .initiative-search-wrapper {
        width: 100%;
    }
    .initiative-filters {
        width: 100%;
    }
}

@media (min-width: 1400px) {
    .gallery-row-1 img {
        height: 13vw;
    }
    .gallery-row-2 img, .gallery-row-3 img, .gallery-row-4 img {
        height: 5vw;
    }
    .initiative-gallery.single-image .gallery-row-1 img {
        height: 18.4vw;
    }
}




/*Coverflow Carousel styling*/
.courseCoverflow .ue-flip-item-content,
.ue-flip-item-content.elementor-repeater-item-c1746fd-item-content
.courseCoverflow .flipster__item__content .ue-flip-item-content {
    position: absolute !important;
    top: 0 !important;
    width: 100% !important;
    background: none;
}
.courseCoverflow .flipster__item img {
    object-position: bottom left !important
}
.ue-item-image {
    margin-top: 30%;
}
.courseCoverflow
.flipster__item__content {
  position: relative;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
}
.courseCoverflow
.flipster__item__content::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 20px;
  background: linear-gradient(
    59.59deg,
    rgba(255, 255, 255, 0.8) 2.35%,
    rgba(255, 255, 255, 0) 49.39%,
    rgba(255, 255, 255, 0.8) 96.42%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}


/*New Dark Theme homepage styling*/

/*Video background*/
@media (min-width: 1700px) {
    .elementor-52881 .elementor-element.elementor-element-36daaa1 {
        min-height: 660px !important;
    }
}
@media (min-width: 1500px) and (max-width:1700px) {
    .elementor-52881 .elementor-element.elementor-element-36daaa1 {
        min-height: 550px !important;
    }
}
@media (min-width: 1200px) and (max-width:1300px) {
    .elementor-52881 .elementor-element.elementor-element-36daaa1 {
        min-height: 420px !important;
    }
}
@media screen and (max-width:767px) {
    .homepageVideoBg video {
      object-fit: cover; 
      transform: scale(2); 
      transform-origin: center center;
    }
}


/*Flip card when hover over*/
.custom-flip-card {
    position: relative !important;
    /*height: 100% !important; */
    /*min-height: 410px !important;*/
    overflow: hidden !important; 
    border: 1px solid transparent;
    border-radius: 20px; 
    background: 
        linear-gradient(#04474F, #031C1F) padding-box, 
        linear-gradient(180deg, #BDBDBD 0%, #333333 50%, #666666 100%) border-box;
}
/* 2. Front Side */
.custom-flip-card .front-side-container {
    /*height: 100% !important;*/
    transition: opacity 0.4s ease;
}
/* 3. Back Side - The Scrollable Area */
.custom-flip-card .back-side-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important; 
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    
    /* SCROLLBAR LOGIC */
    overflow-y: auto; 
    overflow-x: hidden !important;
    display: block !important;
}
/* 4. Hover State */
.custom-flip-card:hover .front-side-container {
    opacity: 0;
}
.custom-flip-card:hover .back-side-container {
    opacity: 1;
    pointer-events: auto;
}
/* 5. Custom Scrollbar Styling (So you can actually see it) */
.custom-flip-card .back-side-container::-webkit-scrollbar {
    width: 6px;
}
.custom-flip-card .back-side-container::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}
.custom-flip-card .back-side-container::-webkit-scrollbar-thumb {
    background: #00BAB5; /* Your turquoise color */
    border-radius: 10px;
}
@media (max-width:767px) {
    .custom-flip-card {
        min-height: 350px !important;
    }
}


.custom-flip-card {
    display: flex;
    flex-direction: column;
    height: 100%; 
    min-height: 400px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;

    border: 1px solid transparent;
    border-radius: 20px; 
    background: 
        linear-gradient(#04474F, #031C1F) padding-box, 
        linear-gradient(180deg, #BDBDBD 0%, #333333 50%, #666666 100%) border-box;
}
.custom-flip-card .back-side-container {
    display: none;
    opacity: 0;
}
.custom-flip-card:hover .front-side-container {
    display: none;
}
.custom-flip-card:hover .back-side-container {
    display: block;
    opacity: 1;
    height: auto;
}
.elementor-main-swiper {
    overflow: visible !important;
}

/*Learner video carousel*/
/* FIX: remove inline spacing from link */
.img-frame a {
    display: block;
    line-height: 0;
}
.img-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 531 / 280; 
    overflow: hidden;
}
.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    padding: 0 12px;
    box-sizing: border-box;
    border-radius: 30px;
}
/* PNG frame overlay */
.img-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://sda-staging.asapfnbdemo.com/wp-content/uploads/2026/04/video-frame-home-page-1.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 2;
}
/*End of New Dark Theme homepage styling*/
