/* =========================================================
   {{env('APP_NAME')}} — design tokens
   Yellow bricks + navy smiley + sky-blue roller, from the mark.
   ========================================================= */
/* :root{
  --hw-yellow:      #FFC72C;
  --hw-yellow-dark: #E8A317;
  --hw-yellow-pale: whitesmoke;
  --hw-navy:        #1B2A4A;
  --hw-navy-soft:   #2C4270;
  --hw-sky:         #2FA8E0;
  --hw-sky-dark:    #355090;
  --hw-cream:       #FFFFFF;
  --hw-charcoal:    #2B2B2E;
  --hw-coral:       #FF6B4A;
  --hw-line:        #EFE4C6;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
} */

:root {

  /* =========================================
     MADINA AL SABIHA
     Brand Color System
  ========================================= */

  --hw-line:        gold;

  /* Primary Brand */
  --brand-primary:        #355090;
  --brand-primary-dark:   #263B70;
  --brand-primary-light:  #EAF0FF;

  /* Secondary / Logo Blue */
  --brand-sky:             #2FA8E0;
  --brand-sky-dark:        #168BC4;
  --brand-sky-light:       #EAF8FF;

  /* Dark */
  --brand-navy:            #172642;
  --brand-navy-soft:       #263B5F;

  /* Neutral */
  --brand-black:           #151515;
  --brand-charcoal:        #2B2B2E;
  --brand-gray:            #6B7280;
  --brand-gray-light:      #F3F5F8;
  --brand-border:          #E3E7ED;

  /* Backgrounds */
  --brand-white:           #FFFFFF;
  --brand-off-white:       #F8FAFC;

  /* Status */
  --brand-success:         #198754;
  --brand-danger:          #DC3545;
  --brand-warning:         #D99A00;

  --mst-gold :             #D4AF5A;
  --mst-gold-light:              #F8F1DE;


  /* =========================================
     Typography
  ========================================= */

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family: var(--font-body);
  color: var(--brand-charcoal);
  background: var(--brand-off-white);
  margin:0;
  padding-top: 76px; /* offset for fixed navbar */

}
h1,h2,h3,h4,.display-font{
  font-family: var(--font-display);
  color: var(--hw-navy);
  font-weight: 700;
}
a{ text-decoration:none; }
.section-eyebrow{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-primary);
  display:inline-block;
  margin-bottom:.5rem;
}
.section-title{
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: .5rem;
}
.section-sub{
  color: var(--brand-gray);
  max-width: 640px;
}
.btn-hw-primary{
  /* background: var(--brand-primary); */
  background: var(--mst-gold);
  color:#fff;
  border:none;
  font-family: var(--font-display);
  font-weight:600;
  padding:.7rem 1.6rem;
  border-radius: 6px 16px 6px 16px; /* brick-corner nudge */
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn-hw-primary:hover{
  /* background: var(--brand-primary-dark); */
  color:#fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(27,42,74,.18);
}
.btn-hw-outline{
  background: transparent;
  border: 2px solid var(--mst-gold);
  color: var(--mst-gold);
  font-family: var(--font-display);
  font-weight:600;
  padding:.65rem 1.5rem;
  border-radius: 6px 16px 6px 16px;
  transition: all .2s ease;
}
.btn-hw-outline:hover{
  background: var(--mst-gold);
  color:#fff;
}

/* =========================================================
   BRICK-COURSE DIVIDER — signature element
   A running course of little offset bricks, echoing the mark.
   ========================================================= */
.brick-divider{
  height: 22px;
  width:100%;
  display:flex;
  overflow:hidden;
  background: var(--brand-white);
}
.brick-divider span{
  flex: 0 0 46px;
  height: 14px;
  margin: 4px 3px 0;
  border-radius: 3px;
  background: var(--brand-primary);
}

.brick-divider span:nth-child(2){
  flex: 0 0 46px;
  height: 14px;
  margin: 4px 3px 0;
  border-radius: 3px;
  background: var(--mst-gold);
}


.brick-divider span:nth-child(3n){ background: var(--brand-navy); }
.brick-divider span:nth-child(4n){ background: var(--mst-gold); }
.brick-divider span:nth-child(5n) {background: var(--brand-primary-dark);}
.brick-divider.on-dark span{ opacity:.9; }

/* =========================================================
   NAVBAR
   ========================================================= */
   /* =========================================================
   HEADER
   ========================================================= */

.hw-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   HEADER TOP BAR (SINGLE LINE DESKTOP HEADER)
   ========================================================= */

.hw-topbar {
    background: #fff;
}


.hw-topbar-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* =========================================================
   LOGO
   ========================================================= */

.hw-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}


.hw-logo img {
    display: block;
    width: auto;
    height: 60px;
    object-fit: contain;
}


/* =========================================================
   DESKTOP NAV & RIGHT SECTION
   ========================================================= */

.hw-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}


.hw-nav {
    display: flex;
    align-items: center;
}


.hw-nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}


.hw-nav-item {
    position: relative;
    display: flex;
    align-items: center;
}


/* =========================================================
   NAV LINKS
   ========================================================= */

.hw-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    color: var(--brand-navy);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 6px;
    transition: background .2s ease, color .2s ease;
}


.hw-nav-link:hover {
    color: var(--mst-gold);
    background: var(--mst-gold-light);
}


.hw-nav-arrow {
    font-size: 10px;
    line-height: 1;
    transition: transform .2s ease;
}


/* =========================================================
   SEARCH TRIGGER BUTTON
   ========================================================= */

.hw-search-trigger-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    outline: none;
    color: var(--brand-navy);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
}


.hw-search-trigger-btn:hover {
    background: var(--brand-primary);
    color: #fff;
    transform: scale(1.05);
}


/* =========================================================
   SEARCH POPUP MODAL
   ========================================================= */

.hw-search-modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1060;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}


.hw-search-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}


.hw-search-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) scale(0.95);
    width: 90%;
    max-width: 620px;
    background: #ffffff;
    border-radius: 16px;
    z-index: 1070;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1), opacity .3s ease, visibility .3s ease;
    padding: 32px 28px;
}


.hw-search-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}


.hw-search-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    outline: none;
    color: #64748b;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
}


.hw-search-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}


.hw-search-modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--brand-navy);
}


.hw-search-modal-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 6px 6px 16px;
    transition: border-color .2s ease;
}


.hw-search-modal-input-wrap:focus-within {
    border-color: var(--brand-sky);
    background: #fff;
}


.hw-search-modal-input-wrap .search-icon {
    font-size: 20px;
    color: var(--brand-sky-dark);
}


.hw-search-modal-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #1e293b;
}


.hw-search-modal-input-wrap .search-submit-btn {
    padding: 10px 22px;
    border-radius: 8px;
    white-space: nowrap;
}


/* =========================================================
   MEGA MENU
   ========================================================= */

.hw-mega-item {

    position: static !important;
}


.hw-mega-menu {

    position: absolute;

    top: 100%;

    left: 100%;

    width: min(
        60% - 30px,
        1320px
    );

    /* width: 350px; */

    transform: translateX(-100%) translateY(0px);

    background: #fff;

    border-bottom: 3px solid var(--mst-gold);

    box-shadow:
        0 10px 25px rgba(0,0,0,.12);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;

    z-index: 1029;
}


/* Hover open */

.hw-mega-item:hover .hw-mega-menu {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    /* transform:
        translateX(-100%)
        translateY(0); */
}


/* Arrow */

.hw-mega-item:hover .hw-nav-arrow {

    transform: rotate(180deg);

}

.hw-mega-title {
  font-size: 18px;
  font-weight: 700;

  color: #111;

  margin-bottom: 18px;
}


/* =========================================================
   MEGA CONTENT
   ========================================================= */

.hw-mega-link {

    display: flex;

    align-items: center;

    min-height: 42px;

    padding: 10px 12px;

    color: #111;

    text-decoration: none;

    font-size: 16px;

    font-weight: 500;

    transition:
        color .2s ease,
        background .2s ease;
}



/* =========================================================
   SCROLL
   ========================================================= */

.hw-header.scrolled .hw-topbar-inner {

    min-height: 75px;
}


.hw-header.scrolled .hw-logo img {

    height: 48px;
}


.hw-header.scrolled .hw-header-search {

    height: 45px;
}


/* =========================================================
   MOBILE MENU TOGGLE BUTTON & SIDEBAR DRAWER
   ========================================================= */

.hw-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--hw-navy);
    font-size: 28px;
    cursor: pointer;
    border-radius: 6px;
    padding: 0;
    transition: background .2s ease, color .2s ease;
}

.hw-menu-toggle:hover,
.hw-menu-toggle:focus {
    background: rgba(47, 168, 224, 0.1);
    color: var(--hw-sky-dark);
}

/* Sidebar Backdrop */
.hw-sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.hw-sidebar-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Container */
.hw-mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 310px;
    max-width: 85vw;
    background: #ffffff;
    z-index: 1050;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.hw-mobile-sidebar.active {
    transform: translateX(0);
}

/* Sidebar Header */
.hw-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eef2f6;
    background: #fff;
}

.hw-sidebar-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.hw-sidebar-close {
    background: #f1f5f9;
    border: none;
    outline: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 16px;
    cursor: pointer;
    transition: all .2s ease;
}

.hw-sidebar-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Sidebar Body */
.hw-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Sidebar Search */
.hw-sidebar-search {
    position: relative;
    margin-bottom: 20px;
}

.hw-sidebar-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hw-sky-dark);
    font-size: 16px;
}

.hw-sidebar-search input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 42px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    color: #1e293b;
    transition: border-color .2s ease;
}

.hw-sidebar-search input:focus {
    border-color: var(--hw-sky-dark);
    background: #fff;
}

/* Mobile Nav Structure */
.hw-mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hw-mobile-nav-item {
    border-bottom: 1px solid #f1f5f9;
}

.hw-mobile-nav-item:last-child {
    border-bottom: none;
}

.hw-mobile-nav-toggle,
.hw-mobile-direct-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 8px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    cursor: pointer;
    text-align: left;
    transition: color .2s ease;
}

.hw-mobile-nav-toggle:hover,
.hw-mobile-direct-link:hover {
    color: var(--hw-sky-dark);
}

.hw-mobile-icon {
    font-size: 13px;
    transition: transform .25s ease;
    color: #64748b;
}

.hw-mobile-nav-toggle.open .hw-mobile-icon {
    transform: rotate(180deg);
    color: var(--hw-sky-dark);
}

/* Subnav Accordion Container */
.hw-mobile-subnav {
    display: none;
    padding: 6px 0 12px 12px;
    background: #fafcfd;
    border-radius: 6px;
    margin-bottom: 8px;
}

.hw-mobile-subnav.open {
    display: block;
}

.hw-mobile-sublink {
    display: block;
    padding: 9px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    border-radius: 4px;
    transition: background .15s ease, color .15s ease;
}

.hw-mobile-sublink:hover {
    color: var(--hw-sky-dark);
    background: rgba(47, 168, 224, 0.08);
}

.hw-mobile-sublink.nested {
    padding-left: 20px;
    font-size: 13.5px;
}

/* Category Groups inside Support & Training */
.hw-mobile-cat-group {
    margin-bottom: 12px;
}

.hw-mobile-cat-group:last-child {
    margin-bottom: 0;
}

.hw-mobile-cat-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hw-navy);
    padding: 8px 12px 4px;
}

/* =========================================================
   MOBILE MEDIA QUERY
   ========================================================= */

@media (max-width: 991.98px) {

    .hw-menu-toggle {
        display: flex;
    }

    .hw-navbar {
        display: none !important;
    }

    .hw-topbar-inner {

        min-height: 70px;

        gap: 15px;
    }


    .hw-logo img {

        height: 45px;
    }


    .hw-header-search {

        max-width: none;

        width: 40px;

        height: 40px;

        padding: 0;

        justify-content: center;

        border-radius: 50%;

        display: none;
    }

    .hw-header-search.mobile{
      display: flex;
      justify-content: center;
      align-items: center;
    }


    .hw-header-search input {

        display: none;
    }
}

.enquire-tab{
  position: fixed;
  top: 46%;
  right: 0;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  background: var(--brand-navy);
  color:#fff;
  font-family: var(--font-display);
  font-weight:600;
  letter-spacing: .04em;
  padding: 1rem .55rem;
  border-radius: 10px 0 0 10px;
  z-index: 1029;
  box-shadow: -4px 0 14px rgba(27,42,74,.2);
}



/* Trigger */

.hw-mega-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
}


/* Arrow */

.hw-nav-arrow {
    font-size: 10px;
    line-height: 1;

    display: inline-block;

    transition: transform .2s ease;
}



/* Container */

.hw-mega-menu > .container {

    padding-top: 28px;
    padding-bottom: 28px;
}


/* Grid */

.hw-mega-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    column-gap: 45px;
    padding: 10px;

}


/* Link hover */

.hw-mega-link:hover {

    color: var(--hw-sky);

    transform: translateX(5px);
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 992px) {

    .hw-mega-item:hover > .hw-mega-trigger {
        color: var(--hw-sky);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991.98px) {

    .hw-mega-item {
        position: relative !important;
    }


    .hw-mega-menu {

        position: static;

        width: 100%;

        display: none;

        opacity: 1;
        visibility: visible;

        transform: none;

        border: 0;

        box-shadow: none;

        background: #f8fafc;

    }


    /*
     * Bootstrap .show support
     */

    .hw-mega-item.show .hw-mega-menu {
        display: block;
    }


    .hw-mega-menu > .container {

        padding: 5px 15px 10px;

    }


    .hw-mega-grid {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .hw-mega-link {

        padding: 10px 0;

        border-bottom: 1px solid #e5e8ed;

        font-size: 15px;

    }

}

.enquire-tab:hover{ background: var(--mst-gold); color:#fff; }

/* =========================================================
   HERO SLIDER
   ========================================================= */
.hw-hero{
  position:relative;
  overflow:hidden;
}
/* Self-contained slider — does NOT rely on Bootstrap's carousel CSS/JS,
   so slides can never stack/overlap regardless of load order. */
.hw-slider{
  position: relative;
  min-height: 560px;
  width: 100%;
  overflow: hidden;
}
.hw-slider-track{
  position: relative;
  min-height: 560px;
}
.hw-slide{
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  min-height: 600px;
  display:flex;
  align-items:center;
  background-size: cover;
  background-position:center;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity .7s ease;

  background: linear-gradient(rgba(0, 0, 0, 0.5));
}

.hw-slide::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.05) 70%
  );

  z-index: 2;
  pointer-events: none;
}

.hw-slide-content {
  z-index: 5;
  color: #fff;
}

.hw-slide-content .btn-hw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 13px 26px;

  background: var(--hw-yellow);
  color: var(--hw-navy);

  border: 2px solid var(--hw-yellow);
  border-radius: 6px;

  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;

  text-decoration: none;

  box-shadow: 0 6px 18px rgba(27, 42, 74, 0.15);

  transition:
      background-color .25s ease,
      color .25s ease,
      border-color .25s ease,
      transform .25s ease,
      box-shadow .25s ease;
}

.hw-slide-content .btn-hw:hover {
  background: var(--hw-navy);
  color: #fff;

  border-color: var(--hw-navy);

  transform: translateY(-2px);

  box-shadow: 0 9px 22px rgba(27, 42, 74, 0.25);
}

.hw-slide-content .btn-hw::after {
  content: "→";

  font-size: 18px;
  line-height: 1;

  transition: transform .25s ease;
}

.hw-slide-content .btn-hw:hover::after {
  transform: translateX(4px);
}

.hw-slide > img {
  display: block;
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.hw-slide-content {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  z-index: 5;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 60px 8%;

  color: #1B2A4A;
}

/* Tagline */
.hw-slide-content > span {
    display: inline-block;
    width: fit-content;

    margin-bottom: 15px;

    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1B2A4A;
}

/* Title */
.hw-slide-content h1 {
    max-width: 650px;

    margin: 0 0 18px;

    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 800;
    color: #1B2A4A;
}

/* Subtitle */
.hw-slide-content p {
    max-width: 600px;

    margin: 0 0 25px;

    font-size: 18px;
    line-height: 1.6;
    color: #1B2A4A;
}

/* Button */
.hw-slide-content .btn {
    width: fit-content;
}


.hw-slide.active{
  position: relative; /* active slide sets the track's real height */
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
/* .hw-slide::before{
  content:"";
  position:absolute; inset:0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 46px, transparent 46px 49px);
  pointer-events:none;
} */



.hw-slide .container{ position:relative; z-index:2; }
.hw-slide-eyebrow{
  display:inline-block;
  background: rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.4);
  color:#fff;
  font-weight:700;
  font-size:.78rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  padding:.35rem .9rem;
  border-radius: 30px;
  margin-bottom:1rem;
}
.hw-slide h1{
  color:#fff;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height:1.08;
  max-width: 720px;
}
.hw-slide p{
  color: rgba(255,255,255,.92);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 1rem 0 1.6rem;
}
.hw-slide-1{ background: linear-gradient(120deg, var(--hw-navy) 0%, var(--hw-navy-soft) 55%, var(--hw-sky-dark) 100%); }
.hw-slide-2{ background: linear-gradient(120deg, #B9790A 0%, var(--hw-yellow-dark) 55%, var(--hw-navy) 130%); }
.hw-slide-3{ background: linear-gradient(120deg, var(--hw-sky-dark) 0%, var(--hw-navy-soft) 60%, #10203c 100%); }

.hw-hero-art{
  position:absolute;
  right: 3%;
  bottom: 0;
  width: min(38vw, 460px);
  z-index:1;
  opacity:.95;
}

/* custom slider controls */
.hw-slider-controls{
  position:absolute;
  bottom: 22px;
  left:0; right:0;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 1.2rem;
}
.hw-arrow-btn{
  width:42px; height:42px;
  border-radius:50%;
  background: rgba(255,255,255,.14);
  border:1.5px solid rgba(255,255,255,.55);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, transform .2s ease;
}
.hw-arrow-btn:hover{ background: var(--hw-yellow); color:var(--hw-navy); border-color:var(--hw-yellow); transform: scale(1.06); }
.hw-dots{ display:flex; gap:.5rem; }
.hw-dot{
  width:10px; height:10px; border-radius:50%;
  background: rgba(255,255,255,.5);
  border:none;
  padding:0;
  cursor:pointer;
  transition: all .25s ease;
}
.hw-dot.active{ width:26px; border-radius:6px; background: var(--hw-yellow); }
.hw-progress-track{
  position:absolute;
  bottom:0; left:0; right:0;
  height:4px;
  background: rgba(255,255,255,.18);
  z-index:5;
}
.hw-progress-bar{
  height:100%;
  width:0%;
  background: var(--hw-yellow);
}

/* =========================================================
   REUSABLE INFINITE AUTO-SCROLL SLIDER
   Drop the markup below inside any section and add the class
   "hw-slider-auto" to the outer wrapper — script.js turns it
   into an infinite, auto-scrolling slider with controls.
   No items are cloned: looping works by physically moving the
   first/last real item to the other end once its slide
   finishes, so the DOM always has exactly the items you wrote.

   <div class="hw-slider-auto" data-interval="3000">
     <button class="rail-arrow prev hw-slider-auto-prev">‹</button>
     <div class="hw-slider-auto-viewport">
       <div class="hw-slider-auto-track">
         <div class="hw-slider-auto-item"> ... card ... </div>
       </div>
     </div>
     <button class="rail-arrow next hw-slider-auto-next">›</button>
   </div>
   ========================================================= */
.hw-slider-auto{ position: relative; --hw-items: 4; --hw-gap: 20px; width: 100%;}
/* .hw-slider-auto-viewport{
  overflow: hidden;
} */
.hw-slider-auto-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;      
  -ms-overflow-style: none;    */
}
.hw-slider-auto-viewport::-webkit-scrollbar { display: none; } /* Chrome/Safari */


.hw-slider-auto-track{
  display:flex;
  gap: var(--hw-gap);
  padding: .4rem .2rem 1.2rem;
  width: max-content;
  /* transition: transform .45s ease; */
  will-change: transform;
  transform: translate3d(0, 0, 0);
  /* justify-content: flex-start;
  width: 100%; */
  overflow-x: visible;
  /* backface-visibility: hidden; */
  scroll-snap-type: none;

  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
.hw-slider-auto-item{
  /* flex: 0 0 auto;
  margin-right: 1.1rem; */
  flex: 0 0 calc((100% - (var(--hw-items) - 1) * var(--hw-gap)) / var(--hw-items));
  width: calc((100% - (var(--hw-items) - 1) * var(--hw-gap)) / var(--hw-items));
  max-width: none;
  scroll-snap-align: none;
}

.hw-slide-clone {
  flex-shrink: 0;
}

.rail-arrow{
  position:absolute;
  top: 42%;
  transform: translateY(-50%);
  width:40px; height:40px;
  border-radius:50%;
  background:#fff;
  border:1.5px solid var(--hw-line);
  box-shadow: 0 6px 16px rgba(27,42,74,.12);
  color: var(--hw-navy);
  z-index:4;
  display:flex;align-items:center;justify-content:center;
}
.rail-arrow.prev{ left:-8px; }
.rail-arrow.next{ right:-8px; }
.rail-arrow:hover{ background: var(--hw-yellow); }

.cat-card {
  position: relative;

  width: 100%;
  height: 100%;

  background: #ffffff;

  border: 1px solid #e1e5eb;
  border-radius: 18px;

  overflow: hidden;

  padding: 0;

  box-shadow:
      0 8px 25px rgba(23, 43, 73, 0.05);

  transition:
      transform 0.35s ease,
      box-shadow 0.35s ease,
      border-color 0.35s ease;
}


/* Card Hover */

.cat-card:hover {
  border-color: var(--mst-gold, #c99a22);
}


/* =========================================================
 IMAGE
========================================================= */

.cat-img {
  position: relative;

  width: 100%;

  aspect-ratio: 4 / 3;

  overflow: hidden;

  background: #f3f5f7;
}


/* Image */

.cat-img img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
      transform 0.7s cubic-bezier(.2, .7, .2, 1);
}


/* Image Hover */

.cat-card:hover .cat-img img {
  transform: scale(1.07);
}


/* =========================================================
 IMAGE OVERLAY
========================================================= */



.cat-card:hover .cat-img::after {
  opacity: 1;
}


/* =========================================================
 IMAGE ARROW
========================================================= */

.cat-img-arrow {
  position: absolute;

  right: 14px;
  bottom: 14px;

  z-index: 2;

  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.95);

  color: var(--mst-navy, #172b49);

  font-size: 16px;

  opacity: 0;

  transform: translateY(8px);

  transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      background 0.3s ease,
      color 0.3s ease;
}


.cat-card:hover .cat-img-arrow {
  opacity: 1;

  transform: translateY(0);

  background: var(--mst-gold, #c99a22);

  color: #ffffff;
}


/* =========================================================
 FALLBACK ICON
========================================================= */

.cat-img i.bi {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 65px;

  color: var(--mst-gold, #c99a22);

  background:
      radial-gradient(
          circle at 30% 20%,
          rgba(201, 154, 34, 0.14),
          transparent 35%
      ),
      #f5f6f8;
}


/* =========================================================
 CONTENT
========================================================= */

.cat-card-content {
  padding: 21px 21px 22px;
}


/* Small label */

.cat-label {
  display: block;

  margin-bottom: 7px;

  color: var(--mst-gold, #c99a22);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 1.7px;

  text-transform: uppercase;
}


/* =========================================================
 TITLE
========================================================= */

.cat-card h5 {
  margin: 0 0 8px;

  font-family:
      var(--font-display, "Segoe UI"),
      sans-serif;

  font-size: 20px;

  line-height: 1.25;

  font-weight: 750;

  color: var(--mst-navy, #172b49);

  transition: color 0.25s ease;
}


.cat-card:hover h5 {
  color: var(--mst-gold-dark, #a47708);
}


/* =========================================================
 DESCRIPTION
========================================================= */

.cat-card p {
  margin: 0 0 17px;

  color: #6b7280;

  font-size: 13px;

  line-height: 1.6;

  min-height: 21px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
}


/* =========================================================
 LEARN / EXPLORE LINK
========================================================= */

.cat-card .learn {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  padding: 0;

  background: transparent;

  border: 0;

  color: var(--mst-navy, #172b49);

  font-size: 12px;

  font-weight: 750;

  text-decoration: none;

  transition:
      color 0.25s ease,
      gap 0.25s ease;
}


.cat-card .learn i {
  color: var(--mst-gold, #c99a22);

  font-size: 14px;

  transition:
      transform 0.25s ease;
}


.cat-card .learn:hover {
  color: var(--mst-gold-dark, #a47708);

  gap: 10px;
}


.cat-card .learn:hover i {
  transform: translateX(3px);
}


/* =========================================================
 GOLD BOTTOM ACCENT
========================================================= */



/* =========================================================
 RESPONSIVE
========================================================= */

@media (max-width: 767px) {

  .cat-card {
      border-radius: 15px;
  }

  .cat-card-content {
      padding: 18px;
  }

  .cat-card h5 {
      font-size: 18px;
  }

  .cat-img-arrow {
      opacity: 1;
      transform: none;

      width: 36px;
      height: 36px;
  }
}

/* =========================================================
   AUDIENCE TABS ("resources for you")
   ========================================================= */
.audience-card{
  background:#fff;
  border-radius:18px;
  border:1px solid var(--hw-line);
  padding: 2rem;
}
.hw-tabs .nav-link{
  border:none;
  background:transparent;
  color:#8a8a92;
  font-weight:700;
  padding: .5rem .3rem;
  margin-right:2rem;
  display:flex;
  align-items:center;
  gap:.5rem;
  border-bottom: 3px solid transparent;
}
.hw-tabs .nav-link .badge-circle{
  width:34px;height:34px;border-radius:50%;
  background: var(--hw-yellow-pale);
  color: var(--hw-navy);
  display:flex;align-items:center;justify-content:center;
}
.hw-tabs .nav-link.active{
  color: var(--hw-navy);
  border-bottom-color: var(--hw-yellow);
  background:transparent;
}
.hw-tabs .nav-link.active .badge-circle{ background: var(--hw-yellow); }
.resource-link-list a{
  display:block;
  color: var(--hw-charcoal);
  font-weight:600;
  padding:.4rem 0;
  border-bottom: 1px dashed var(--hw-line);
}
.resource-link-list a:hover{ color: var(--hw-sky-dark); }

/* =========================================================
   INDUSTRY TILES
   ========================================================= */
.industry-tile{
  flex: 0 0 220px;
  height: 260px;
  border-radius: 14px;
  overflow:hidden;
  position:relative;
  display:flex;
  align-items:flex-end;
  padding: 1.1rem;
  color:#fff;
  font-family: var(--font-display);
  font-weight:700;
  font-size:1.1rem;
}
.industry-tile::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(27,42,74,.15), rgba(27,42,74,.85));
}
.industry-tile span{ position:relative; z-index:2; }
.industry-tile.t1{ background: linear-gradient(160deg,#3f6fb0,#1B2A4A); }
.industry-tile.t2{ background: linear-gradient(160deg,#2FA8E0,#1B2A4A); }
.industry-tile.t3{ background: linear-gradient(160deg,#E8A317,#7a4e07); }
.industry-tile.t4{ background: linear-gradient(160deg,#FF6B4A,#7a2c1a); }
.industry-tile.t5{ background: linear-gradient(160deg,#2C4270,#0d1730); }

/* =========================================================
   VISUALIZER / STORY BANNERS
   ========================================================= */
.banner-visualizer{
  background: var(--hw-yellow-pale);
  border-radius: 22px;
  overflow:hidden;
}
.wall-swatch-demo{
  height: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, var(--hw-sky) 0%, var(--hw-sky) 33%, var(--hw-yellow) 33%, var(--hw-yellow) 66%, var(--hw-coral) 66%);
  position:relative;
}
.wall-swatch-demo::after{
  content:"";
  position:absolute; inset:14px;
  border: 3px dashed rgba(255,255,255,.55);
  border-radius: 12px;
}
.swatch-dot{
  width:30px;height:30px;border-radius:50%;
  border:3px solid #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,.18);
  cursor:pointer;
}

.story-band{
  background: var(--hw-navy);
  color:#fff;
  border-radius: 22px;
  overflow:hidden;
}
.story-video {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

.story-video iframe,
.story-video video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
}

.story-video .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 70px;
  height: 70px;
  border: 0;
  border-radius: 50%;

  background: var(--hw-yellow);
  color: #000;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 32px;
  cursor: pointer;
  z-index: 10;

  transition: .3s ease;
}

.story-video .play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

@media (max-width: 768px) {
  .story-video {
      height: 280px;
  }
}

/* =========================================================
   CALCULATOR CARDS
   ========================================================= */
.tool-card{
  background:#fff;
  border:1px solid var(--hw-line);
  border-radius:16px;
  padding: 2rem;
  height:100%;
  transition: box-shadow .2s ease, transform .2s ease;
}
.tool-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 30px rgba(27,42,74,.1); }
.tool-icon{
  width:54px;height:54px;
  border-radius:12px;
  background: var(--hw-navy);
  color: var(--hw-yellow);
  display:flex;align-items:center;justify-content:center;
  font-size:1.4rem;
  margin-bottom:1rem;
}

/* =========================================================
   CTA STRIP
   ========================================================= */
.cta-strip{
  background:#fff;
  border:1px solid var(--hw-line);
  border-radius: 18px;
  padding: 2rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.hw-footer{
  background: var(--brand-black);
  color: rgba(255,255,255,.82);
  /* padding-top: 3rem; */
}
.hw-footer h6{
  color:#fff;
  font-family: var(--font-display);
  font-weight:700;
  margin-bottom:1.1rem;
  font-size: 1rem;
}
.hw-footer a{
  color: rgba(255,255,255,.75);
  display:block;
  margin-bottom:.55rem;
  font-size:.92rem;
}
.hw-footer a:hover{ color: var(--hw-yellow); }
.footer-tagline{
  text-align:center;
  background: var(--mst-gold);
  color:#fff;
  font-family: var(--font-display);
  font-weight:700;
  padding:.7rem 0;
  letter-spacing:.03em;
}
.newsletter-input{
  border-radius: 8px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  color:#fff;
  padding:.6rem .9rem;
}
.newsletter-input::placeholder{ color: rgba(255,255,255,.55); }
.newsletter-input:focus{background: rgba(255, 255, 255, .08); color: #fff; border-color: var(--brand-sky);}
.newsletter-input
.hw-footer .social-icon{
  width:36px;height:36px;
  border-radius:50%;
  background: rgba(255,255,255,.1);
  display:inline-flex;align-items:center;justify-content:center;
  color:#fff;
  margin-right:.5rem;
}
.hw-footer .social-icon:hover{ background: var(--brand-sky); color: var(--hw-navy); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2rem;
  padding: 1.1rem 0;
  font-size:.85rem;
  color: #fff;
}

/* back to top */
.back-to-top {
  position: fixed;

  right: 22px;
  bottom: 22px;

  width: 46px;
  height: 46px;

  border-radius: 50%;

  background: var(--mst-gold);

  color: #fff;

  border: none;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
      0 8px 20px rgba(23, 38, 66, .30);

  opacity: 0;
  visibility: hidden;

  transform: translateY(10px);

  transition: all .25s ease;

  z-index: 1040;
}
.back-to-top:hover {
  /* background: var(--mst-gold); */

  transform: translateY(-2px);
}
.back-to-top.show{ opacity:1; visibility:visible; transform:none; }

/* toast */
.hw-toast{
  position: fixed;
  bottom: 22px;
  left: 22px;
  background: var(--hw-navy);
  color:#fff;
  padding: .8rem 1.2rem;
  border-radius: 10px;
  font-weight:600;
  z-index: 1050;
  opacity:0;
  transform: translateY(10px);
  transition: all .3s ease;
  pointer-events:none;
}
.hw-toast.show{ opacity:1; transform:none; }

@media (max-width: 767px){
  body{ padding-top:64px; }
  .hw-slide{ min-height: 460px; text-align:center; }
  .hw-slide .container{ text-align:center; }
  .hw-slide p{ margin-left:auto; margin-right:auto; }
  .hw-hero-art{ display:none; }
  .enquire-tab{ display:none; }

  .hw-topbar-inner{justify-content: flex-start;}
  .hw-header-right{display: none;}
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; animation:none !important; }
}
