/* ============================================
   Westralian - Building Services Contractor
   Brand Colors & Design System
   ============================================ */

/* --- CSS Custom Properties ---
   Values sourced from the Westralian Design System v1.0 (June 2026).
   Legacy variable names are kept so existing rules keep working;
   each maps to a design-system token. --- */
:root {
  --blue: #00A9E0;          /* Brand — Westralian Blue, Pantone 2995 */
  --blue-dark: #0091C3;     /* Brand Hover */
  --blue-darker: #007AA4;   /* Brand Press */
  --navy: #003E52;          /* Deep Blue — text/headings & dark surfaces */
  --navy-light: #012735;    /* Brand Ink — deepest surface */
  --white: #ffffff;
  --sky-50: #F2FBFE;
  --sky-100: #E6F7FD;
  --sky-200: #BFE9F7;
  --grey-50: #FAFBFC;       /* Surface */
  --grey-100: #F3F5F7;      /* Surface 2 */
  --grey-200: #E5EAEE;      /* Border */
  --grey-300: #C9D1D6;      /* Border strong */
  --grey-500: #6B7680;      /* FG muted */
  --grey-700: #2A3740;      /* FG body */
  --grey-900: #0F1A20;      /* FG strong */
  --text: #2A3740;
  --text-light: #6B7680;
  --success: #2E9E5B;
  --danger: #D8423A;
  --gold: #C9A94A;          /* Award/accreditation badges only */
  --shadow-sm: 0 1px 2px rgba(12,30,46,0.04), 0 4px 12px rgba(12,30,46,0.06);   /* card */
  --shadow-md: 0 1px 2px rgba(12,30,46,0.04), 0 4px 12px rgba(12,30,46,0.06);   /* card */
  --shadow-lg: 0 4px 8px rgba(12,30,46,0.08), 0 18px 40px rgba(12,30,46,0.12);  /* float */
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--blue-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.125rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

ul, ol { padding-left: 1.25rem; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--grey {
  background: var(--grey-50);
}

.section--blue {
  background: var(--navy);
  color: var(--white);
}

.section--blue h2,
.section--blue h3,
.section--blue h4 {
  color: var(--white);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section__header p {
  color: var(--text-light);
  font-size: 1.125rem;
  margin-top: 0.75rem;
}

.section--blue .section__header p {
  color: var(--grey-300);
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn--white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

/* --- Header & Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform 0.4s ease;
}

.header--scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header--hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header__logo img {
  height: 48px;
  width: auto;
}

.header__logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 1rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--blue);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__dropdown-toggle::after {
  content: '';
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 2.5px;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform var(--transition);
}

.nav__dropdown:hover .nav__dropdown-toggle::after {
  transform: rotate(-135deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  padding: 0.625rem 1.25rem;
  color: var(--text);
  font-size: 0.9375rem;
  transition: all var(--transition);
}

.nav__dropdown-menu a:hover {
  background: var(--grey-50);
  color: var(--blue);
}

.nav__cta {
  margin-left: 0.75rem;
}

/* Mobile Menu */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  overflow: hidden;
}

/* Cycling hero background slideshow (4 crossfading photos) */
.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlide 32s linear infinite;
}

.hero__slide:nth-child(2) { animation-delay: 8s; }
.hero__slide:nth-child(3) { animation-delay: 16s; }
.hero__slide:nth-child(4) { animation-delay: 24s; }

@keyframes heroSlide {
  0%   { opacity: 0; }
  4%   { opacity: 0.18; }
  25%  { opacity: 0.18; }
  29%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero__label {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(0, 169, 224, 0.15);
  border: 1px solid rgba(0, 169, 224, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1.5rem;
  letter-spacing: 0.025em;
}

.hero h1 {
  color: var(--white);
  font-size: 3.25rem;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  color: var(--grey-300);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Stats Bar --- */
.stats {
  background: var(--blue);
  color: var(--white);
  padding: 3rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats__item h3 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.stats__item p {
  font-size: 0.9375rem;
  opacity: 0.9;
  margin: 0;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--grey-200);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card__icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 169, 224, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue);
  font-size: 1.5rem;
}

.card__icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
}

.card__link::after {
  content: '\2192';
  transition: transform var(--transition);
}

.card__link:hover::after {
  transform: translateX(4px);
}

/* --- Client Logos --- */
.logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.logos img {
  max-height: 48px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all var(--transition);
}

.logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* --- Testimonials --- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--grey-200);
}

.testimonial__stars {
  color: #f5a623;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--blue);
  font-size: 1.125rem;
}

.testimonial__name {
  font-weight: 600;
  color: var(--navy);
}

.testimonial__role {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Page Header (internal pages) --- */
.page-header {
  padding: 8rem 0 3rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-header p {
  font-size: 1.125rem;
  color: var(--grey-300);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: var(--grey-300);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  color: var(--grey-500);
}

/* --- Contact Form --- */
.form {
  max-width: 100%;
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--navy);
  font-size: 0.9375rem;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 169, 224, 0.1);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__input--error {
  border-color: var(--danger);
}

.form__error {
  color: var(--danger);
  font-size: 0.8125rem;
  margin-top: 0.375rem;
  display: none;
}

.form__input--error + .form__error {
  display: block;
}

/* --- Service Detail Page --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-detail--reverse {
  direction: rtl;
}

.service-detail--reverse > * {
  direction: ltr;
}

.service-detail__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grey-100);
  aspect-ratio: 4/3;
}

.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail__content h2 {
  margin-bottom: 1rem;
}

.service-detail__content p {
  color: var(--text-light);
}

.service-detail__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-detail__list li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-light);
}

.service-detail__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}

/* --- Industries --- */
.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/2;
  cursor: pointer;
}

.industry-card__bg {
  width: 100%;
  height: 100%;
  background: var(--grey-200);
  position: absolute;
  top: 0;
  left: 0;
}

.industry-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.industry-card:hover .industry-card__bg img {
  transform: scale(1.05);
}

.industry-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1, 39, 53, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.industry-card__overlay h3 {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.industry-card__overlay p {
  color: var(--grey-300);
  font-size: 0.875rem;
  margin: 0;
}

/* --- Careers --- */
.job-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--grey-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition);
}

.job-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.job-card__info h3 {
  margin-bottom: 0.5rem;
}

.job-card__meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-light);
  font-size: 0.875rem;
}

.job-card__meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* --- News --- */
.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--grey-200);
  transition: all var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.news-card__image {
  aspect-ratio: 16/9;
  background: var(--grey-100);
  overflow: hidden;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body {
  padding: 1.5rem;
}

.news-card__date {
  font-size: 0.8125rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.news-card__body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.news-card__body p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

/* --- Footer --- */
.footer {
  background: var(--navy-light); /* Brand Ink, per design system footer spec */
  color: var(--sky-200);
  padding: 4rem 0 0;
}

.footer a[href^="tel:"],
.footer a[href^="mailto:"] {
  color: inherit;
}

.footer a[href^="tel:"]:hover,
.footer a[href^="mailto:"]:hover {
  color: var(--white);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand p {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer__brand img {
  height: 40px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.625rem;
}

.footer__links a {
  color: var(--grey-300);
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.footer__contact-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--blue);
  margin-top: 3px;
}

.footer__bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  color: var(--grey-300);
  transition: color var(--transition);
}

.footer__social a:hover {
  color: var(--blue);
}

/* --- Accreditations (design system: trust signals, native colours on white) --- */
.accreditations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.accreditation-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.125rem;
}

.accreditation-card img {
  max-height: 64px;
  width: auto;
}

.accreditation-card h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.accreditation-card p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.accreditation-card .pill {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1F7A3E;
  background: #E6F4EC;
  padding: 3px 9px;
  border-radius: 999px;
}

/* --- Focus visibility (design system: 2px brand outline, 2px offset) --- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* --- Scroll Animations ---
   CSS transition is the no-GSAP fallback; when GSAP runs it animates
   these elements with inline styles, so the transition is disabled
   (html.gsap-enabled) to avoid the two systems fighting. */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.gsap-enabled .fade-in {
  transition: none;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .accreditations { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail--reverse { direction: ltr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .section { padding: 3.5rem 0; }

  /* Mobile Nav */
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }

  .nav--open {
    transform: translateX(0);
  }

  .nav__link {
    padding: 0.875rem 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--grey-100);
  }

  .nav__dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 1rem;
    display: none;
  }

  .nav__dropdown.open .nav__dropdown-menu {
    display: block;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 1rem;
  }

  /* Hero */
  .hero { padding: 8rem 0 4rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero p { font-size: 1.0625rem; }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { text-align: center; }

  /* Grids */
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .accreditations { grid-template-columns: 1fr; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }

  /* Jobs */
  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .job-card__meta {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .logos { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   INTERACTIVE ENHANCEMENTS
   GSAP / Lenis / Swiper integrations
   ============================================ */

/* Prevent Lenis from fighting scrollbar */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---- Animated Counter Stats ---- */
.stats__item h3 {
  display: inline-block;
  min-width: 120px;
  font-variant-numeric: tabular-nums;
}

/* ---- Mega Menu ---- */
.nav__dropdown-menu--mega {
  min-width: 420px;
  padding: 1rem;
}

.nav__dropdown-menu--mega a {
  display: flex;
  gap: 1rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  align-items: flex-start;
}

.nav__dropdown-menu--mega a:hover {
  background: var(--grey-50);
}

.nav__dropdown-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(0, 169, 224, 0.1);
  color: var(--blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__dropdown-icon svg {
  width: 20px;
  height: 20px;
}

.nav__dropdown-item-title {
  display: block;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.125rem;
}

.nav__dropdown-item-desc {
  display: block;
  color: var(--text-light);
  font-size: 0.8125rem;
  line-height: 1.4;
}

/* ---- Enhanced Service Cards ---- */
.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover .card__icon {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.05) rotate(-3deg);
}

.card__icon {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Industry Card Enhanced ---- */
.industry-card {
  display: block;
  transition: box-shadow 0.4s ease;
}

.industry-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.industry-card__overlay {
  background: linear-gradient(to top, rgba(1, 39, 53, 0.95) 0%, rgba(1, 39, 53, 0.3) 60%, transparent 100%);
  transition: background 0.4s ease;
}

.industry-card:hover .industry-card__overlay {
  background: linear-gradient(to top, rgba(0, 122, 164, 0.95) 0%, rgba(0, 169, 224, 0.4) 60%, transparent 100%);
}

.industry-card__overlay h3 {
  transition: transform 0.4s ease;
}

.industry-card:hover .industry-card__overlay h3 {
  transform: translateY(-4px);
}

/* ---- Swiper: Testimonials ---- */
.testimonials-swiper {
  padding-bottom: 3rem !important;
  overflow: hidden;
}

.testimonials-swiper .swiper-slide {
  height: auto;
}

.testimonials-swiper .testimonial {
  height: 100%;
}

.testimonials-swiper .swiper-pagination {
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--grey-300);
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--blue);
  width: 32px;
  border-radius: 5px;
}

/* ---- Swiper: Client Logos Marquee ---- */
.logos-swiper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
  align-items: center;
}

.logos-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.logos-swiper img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  object-fit: contain;
}

.logos-swiper img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Placeholder boxes for logos (before real assets) */
.logo-placeholder {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  min-width: 140px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.875rem;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.logo-placeholder:hover {
  opacity: 1;
  color: var(--blue);
  border-color: var(--blue);
}

/* ---- Swiper: News Slider ---- */
.news-swiper {
  padding-bottom: 3rem !important;
  overflow: hidden;
  position: relative;
}

.news-swiper .swiper-slide {
  height: auto;
}

.news-swiper .swiper-button-next,
.news-swiper .swiper-button-prev {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--blue);
  top: 40%;
}

.news-swiper .swiper-button-next::after,
.news-swiper .swiper-button-prev::after {
  font-size: 1rem;
  font-weight: 700;
}

/* ---- Hero Enhancements ---- */
.hero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero__content > * {
  will-change: transform, opacity;
}

/* Floating decoration shapes */
.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 169, 224, 0.15) 0%, transparent 70%);
  animation: floatShape 8s ease-in-out infinite;
}

.hero__shape--1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero__shape--2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -80px;
  animation-delay: -4s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

/* ---- Image reveal containers ---- */
.service-detail__image,
.news-card__image,
.industry-card__bg {
  overflow: hidden;
}

/* ---- Scroll indicator ---- */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  opacity: 0.7;
}

.scroll-indicator::after {
  content: '';
  width: 3px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__shape,
  .scroll-indicator::after {
    animation: none;
  }
  .hero__slide { animation: none; }
  .hero__slide:first-child { opacity: 0.18; }
  .logos-swiper .swiper-wrapper {
    transition-duration: 0s !important;
  }
}

