/* Start custom CSS *//* Page uses Sunway transparent-menu template: unbox #content and restore heading colours the theme overrides. */
#main #content.no-vc { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; float: none !important; }
#content .elementor [data-id="7e4e010"], #content .elementor [data-id="25065957"] { color: #000000; }

/* ===== Sunway reveal-slider hero (3 slides, 6s each, right-to-left wipe, caption fade swap, scroll fade) ===== */
.wm-hero > .wm-hero-slide { animation: wmHeroSlide 18s linear infinite both; }
.wm-hero > .wm-hero-slide:nth-child(1) { animation-delay: 0s; }
.wm-hero > .wm-hero-slide:nth-child(2) { animation-delay: -12s; }
.wm-hero > .wm-hero-slide:nth-child(3) { animation-delay: -6s; }
@keyframes wmHeroSlide {
  0%, 22.22% { z-index: 3; clip-path: inset(0 0 0 0); animation-timing-function: cubic-bezier(.77,0,.175,1); }
  33.33% { z-index: 3; clip-path: inset(0 100% 0 0); }
  33.34%, 88.88% { z-index: 1; clip-path: inset(0 100% 0 0); }
  88.89%, 100% { z-index: 2; clip-path: inset(0 0 0 0); }
}
.wm-hero-caps { animation: wmHeroScrollFade linear both; animation-timeline: scroll(root); animation-range: 0px 90vh; }
@keyframes wmHeroScrollFade { from { opacity: 1; } to { opacity: 0; } }
.wm-hero-caps > .wm-hero-cap { animation: wmHeroCap 18s linear infinite both; }
.wm-hero-caps > .wm-hero-cap:nth-child(1) { animation-delay: 0s; }
.wm-hero-caps > .wm-hero-cap:nth-child(2) { animation-delay: -12s; }
.wm-hero-caps > .wm-hero-cap:nth-child(3) { animation-delay: -6s; }
@keyframes wmHeroCap {
  0%, 22.22% { opacity: 1; visibility: visible; }
  25.56%, 92.22% { opacity: 0; visibility: hidden; }
  95.56%, 100% { opacity: 1; visibility: visible; }
}
.wm-hero-nav > .wm-hero-dash { animation: wmHeroDash 18s linear infinite both; }
.wm-hero-nav > .wm-hero-dash:nth-child(1) { animation-delay: 0s; }
.wm-hero-nav > .wm-hero-dash:nth-child(2) { animation-delay: -12s; }
.wm-hero-nav > .wm-hero-dash:nth-child(3) { animation-delay: -6s; }
@keyframes wmHeroDash {
  0%, 21% { background-color: var(--link-color, #ff0000); transform: scaleX(2); }
  23.5%, 88.88% { background-color: #ffffff; transform: scaleX(1); }
  91.5%, 100% { background-color: var(--link-color, #ff0000); transform: scaleX(2); }
}
@media (prefers-reduced-motion: reduce) { .wm-hero > .wm-hero-slide, .wm-hero-caps > .wm-hero-cap, .wm-hero-nav > .wm-hero-dash { animation-duration: 18s; } }

/* ===== Sunway theme effects for wm-* global classes (move to Site Settings > Custom CSS once approved). Theme link colours use high-specificity #content a:not() rules, hence !important. ===== */
#content .wm-btn-solid { color: #ffffff !important; }
#content .wm-btn-solid:hover { color: #960000 !important; }
#content .wm-btn-outline { color: #960000 !important; }
#content .wm-btn-outline:hover { color: #ffffff !important; }
.wm-btn-outline::after { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 0; border-style: solid; border-width: 0; border-color: #606C38 transparent transparent transparent; transform: rotate(360deg); transition: all .5s; z-index: -1; }
.wm-btn-outline:hover::after { border-width: 350px 550px 0 0; }
.wm-service-box::before { content: ""; position: absolute; inset: 10px; border: 1px solid #dedede; opacity: .5; z-index: 1; transition: all .3s; pointer-events: none; }
.wm-service-box:hover::before { border-width: 3px; background-color: rgba(0,0,0,.6); }
.wm-service-box .wm-service-bg { background-size: cover !important; background-position: center center !important; transition: all .5s; }
.wm-service-box:hover .wm-service-bg { opacity: .6; transform: scale(1.1) rotate(1deg); transition: all 3s; }
.wm-service-box .wm-service-caption, .wm-service-box .wm-service-arrow { transition: all 720ms cubic-bezier(.52,.01,.16,1); }
.wm-service-box:hover .wm-service-caption { bottom: 40px; }
.wm-service-box:hover .wm-service-arrow { opacity: 1; }
#content .wm-service-box, #content .wm-service-box:hover { color: #ffffff !important; text-decoration: none !important; }
#content .wm-service-title { font-size: 24px; font-weight: 100; line-height: 30px; color: #ffffff !important; }
#content .wm-hero-title { font-size: 80px; line-height: 86.4px; color: #ffffff; }
#content .wm-hero-subtitle { font-size: 24px; line-height: 36px; color: #ffffff; }
@media (max-width: 767px) { #content .wm-hero-title { font-size: 40px; line-height: 46px; } }/* End custom CSS */