/* Webasyst additions on top of the ICT Asyst theme styles (style.css).
   Palette matches ictasyst.com.au (main colours are the :root properties in style.css). */
:root {
  --theme-color-hover: #005E9E;
  --dark-color: #071A3E;
  --dark-panel: #0B2048;
  --dark-border: #14284F;
  --accent-color: #FEC624;
  --light-accent: #29ABE2;
}

.wa-section { padding: 90px 0; position: relative; }
.wa-section.pt-0 { padding-top: 0; }
.wa-bg-light { background: var(--smoke-color); }
.wa-lead { max-width: 680px; margin: 0 auto 30px; }
.wa-empty { padding: 30px; background: var(--secondary-color); border-radius: 10px; }

/* Hero */
.wa-hero .hero-inner { min-height: 620px; display: flex; align-items: center; }
.wa-hero .hero-content { max-width: 620px; }
.wa-hero p.wa-hero-text { text-transform: none !important; letter-spacing: 0; font-size: 17px; font-weight: 400; color: #eef2fb; max-width: 640px; text-transform: none; line-height: 1.6; }
.wa-hero .hero-title { max-width: 620px; }
@media (max-width: 767px) { .wa-hero .hero-inner { min-height: 520px; } }

/* Project cards */
.wa-project { height: 100%; display: flex; flex-direction: column; background: var(--white-color); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(7, 26, 62, 0.06); transition: transform .25s ease, box-shadow .25s ease; }
.wa-project:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(7, 26, 62, 0.14); }
.wa-project__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--secondary-color); border-bottom: 1px solid var(--border-color); }
.wa-project__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.wa-project:hover .wa-project__img img { transform: scale(1.03); }
.wa-project__img--single { border: 1px solid var(--border-color); border-radius: 12px; }
.wa-project__placeholder { display: flex; height: 100%; align-items: center; justify-content: center; font-family: var(--title-font); font-weight: 600; font-size: 20px; color: var(--theme-color); }
.wa-project__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.wa-project__industry { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--theme-color); background: var(--secondary-color); border-radius: 20px; padding: 4px 12px; margin-bottom: 12px; }
.wa-project__title { font-size: 21px; margin-bottom: 4px; }
.wa-project__client { font-size: 14px; color: var(--body-color); margin-bottom: 10px; }
.wa-project__text { margin-bottom: 20px; }
.wa-project__btn { align-self: flex-start; margin-top: auto; padding: 15px 24px; font-size: 14px; }
.wa-project__btn i { margin-left: 6px; }
.wa-project__host { display: block; margin-top: 10px; font-size: 13px; color: var(--body-color); word-break: break-all; }

/* Our Work filter */
.wa-filter { justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.wa-filter button.active, .wa-filter button:hover { color: var(--theme-color); }

/* Services (home) */
.wa-services-home { background-color: var(--dark-color); background-size: cover; background-position: center; }
.wa-service-card { display: block; height: 100%; padding: 34px 30px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #e3e9f4; position: relative; transition: background .25s ease, transform .25s ease; }
.wa-service-card:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-4px); color: #fff; }
.wa-service-card__num { position: absolute; top: 24px; right: 28px; font-family: var(--title-font); font-weight: 700; color: var(--light-accent); opacity: .8; }
.wa-service-card__icon { display: inline-flex; width: 60px; height: 60px; border-radius: 12px; align-items: center; justify-content: center; background: var(--theme-color); color: #fff; font-size: 26px; margin-bottom: 20px; }
.wa-service-card__title { color: #fff; font-size: 22px; margin-bottom: 10px; }
.wa-service-card p { margin: 0; color: #c9d3e6; }

/* Why / steps */
.why-choose-us-main.wa-section { background-size: cover; background-position: center; }
.wa-steps { list-style: none; counter-reset: wa; padding: 0; margin: 0 0 30px; }
.wa-steps li { counter-increment: wa; position: relative; padding: 0 0 14px 48px; }
.wa-steps li::before { content: counter(wa); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--theme-color); color: #fff; font-family: var(--title-font); font-weight: 700; text-align: center; line-height: 32px; }
.wa-steps strong { color: var(--title-color); }

.wa-step-card { height: 100%; padding: 30px; border-radius: 12px; background: var(--white-color); border: 1px solid var(--border-color); }
.wa-step-card__num { display: block; font-family: var(--title-font); font-weight: 700; font-size: 40px; line-height: 1; color: var(--theme-color); margin-bottom: 16px; }

.wa-about-img img { width: 100%; border-radius: 12px; }

/* Services page */
.wa-service-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 60px; }
.wa-service-nav a { padding: 10px 18px; border: 1px solid var(--border-color); border-radius: 30px; color: var(--title-color); font-weight: 500; }
.wa-service-nav a:hover { border-color: var(--theme-color); color: var(--theme-color); }
.wa-service-nav i { color: var(--theme-color); margin-right: 4px; }
.wa-service-row { padding: 40px 0; scroll-margin-top: 110px; }
.wa-service-row + .wa-service-row { border-top: 1px solid var(--border-color); }
.wa-service-row__img { width: 100%; border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; }
.wa-check-list { list-style: none; padding: 0; margin: 0; }
.wa-check-list li { padding: 5px 0; color: var(--title-color); }
.wa-check-list i { color: var(--theme-color); margin-right: 8px; }

/* CTA band */
.wa-cta { background: var(--dark-color); color: #c9d3e6; }
.wa-cta .sec-title { color: #fff; }
.wa-cta p { max-width: 640px; margin: 0 auto 30px; }
.wa-cta a:not(.vs-btn) { color: #fff; text-decoration: underline; }

/* Contact page */
.wa-contact-details { height: 100%; }
.wa-form-card { padding: 40px; border-radius: 12px; background: var(--secondary-color); }
.wa-form-card .wpcf7 input:not([type="submit"]), .wa-form-card .wpcf7 textarea, .wa-form-card .wpcf7 select { width: 100%; background: #fff; border: 1px solid var(--border-color); border-radius: 6px; padding: 12px 16px; }
.wa-form-card .wpcf7 label { width: 100%; font-weight: 500; color: var(--title-color); }
.wa-form-card .wpcf7-submit { background: var(--theme-color); color: #fff; border: 0; border-radius: 5px; padding: 16px 32px; font-weight: 500; text-transform: uppercase; }
.wa-form-card .wpcf7-submit:hover { background: var(--theme-color-hover); }

/* Footer */
.wa-footer-contact p { color: #c9d3e6; margin-bottom: 10px; }
.wa-footer-contact a { color: #fff; }
.wa-footer-contact i { color: var(--light-accent); width: 20px; }
.main-footer__copyright a { color: inherit; text-decoration: underline; }
.wa-copy-right { text-align: right; }
@media (max-width: 767px) { .wa-copy-right { text-align: left; } }
.header-text a { color: inherit; text-decoration: underline; }

/* Generic pages: the banner already shows the title */
.wa-page-content .entry-header { display: none; }

/* Logos are SVG with intrinsic size; keep them fluid */
.header-logo img, .mobile-logo img, .footer-widget > img { height: auto; width: 100%; }
.main-menu .current-menu-item > a { color: var(--theme-color); }

@media (max-width: 991px) { .wa-section { padding: 70px 0; } }

/* Hero background: mock-ups sit on the right; on small screens keep the text side and darken */
.wa-hero .hero-bg { background-position: right center; background-size: cover; }
@media (max-width: 991px) {
  .wa-hero .hero-bg { background-position: 0% center; }
  .wa-hero .hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(7, 26, 62, 0.55); }
}

/* Accessibility helpers (the TT1 base stylesheet is not loaded) */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 100000; left: 8px; top: 8px; padding: 12px 18px; background: #fff; color: var(--theme-color); border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.3); }

/* Fixes after first render */
.wa-project__img { position: relative; }
.wa-project__img img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; }
.wa-service-card p, .wa-services-home .title-area p { text-transform: none; font-size: 15px; letter-spacing: 0; }
.home-contact-page .wpcf7-submit, .wa-form-card .wpcf7-submit { background: var(--theme-color) !important; color: #fff !important; border: 0; }
.home-contact-page .wpcf7-submit:hover, .wa-form-card .wpcf7-submit:hover { background: var(--theme-color-hover) !important; }
.wa-filter button.active, .wa-filter button.active:hover { color: #fff !important; }
@media (max-width: 991px) {
  .wa-hero .hero-bg { background-position: 0% center !important; }
  .wa-hero .hero-bg::after { content: "" !important; display: block; position: absolute; inset: 0; background: rgba(7, 26, 62, 0.6); }
}
.wa-cta p { color: #c9d3e6 !important; }
.wa-cta p a { color: #fff !important; }
.wa-project-grid > [hidden] { display: none !important; }

/* Icon-box titles: the inherited ".media-body h3 { line-height: 0 }" made wrapped titles draw on top of themselves */
.media-body h3, .media-body .about-media__title, .media-body .contact-box__label { line-height: 1.3; margin-bottom: 6px; }
