
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* brand colors pulled from the logo */
  --brand-1: #36c6e6; /* bright cyan */
  --brand-2: #0b79b3; /* medium blue */
  --navy: #0b2a4a; /* deep navy/teal */
  --navy-2: #075978; /* darker blue for hover */
  --text: #07283b; /* primary text (dark blue) */
  --muted: #5f7f95; /* muted text */
  --line: #e2f6fb; /* subtle light line */
  --soft-line: #cfeaf6;
  --bg-soft: #f7fcfe;
  --bg-hero-start: rgba(54,198,230,0.12);
  --bg-hero-end: rgba(11,121,179,0.06);
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(11, 42, 74, 0.08);
}

html {
  scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes galleryFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes gallerySwap {
  0%, 45% {
    opacity: 1;
    z-index: 2;
  }
  50% {
    opacity: 0;
    z-index: 1;
  }
  55%, 100% {
    opacity: 0;
    z-index: 1;
  }
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-soft) 0%, rgba(54,198,230,0.08) 50%, rgba(11,121,179,0.08) 100%);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--soft-line);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.logo {
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.logo img.brand-logo {
  width: 200px;
  height: auto;
  display: block;
}

/* allow SVG to scale crisply and align with tagline */
.logo img.brand-logo[src$=".svg"] {
  width: 210px;
}

.logo-text {
  display: none;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.tagline {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.mobile-toggle {
  display: none;
}

.hamburger {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--white);
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  transition: width 0.25s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 15px 26px;
  font-weight: 700;
  transition: 0.25s ease;
  border: 1px solid transparent;
  animation: fadeInUp 0.7s ease-out;
}

.btn-dark {
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-dark:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.btn-call {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-call:hover {
  background: #075978;
  transform: translateY(-1px);
}

.btn-light {
  background: var(--white);
  color: var(--brand-2);
  border: 2px solid var(--white);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
  background: #f0f7fc;
  border-color: var(--brand-1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.header-cta {
  white-space: nowrap;
}

.mobile-call-btn {
  display: none;
}

.desktop-call-btn {
  display: inline-block;
}

.hero {
  background: linear-gradient(135deg, var(--bg-soft) 0%, rgba(54,198,230,0.08) 50%, rgba(11,121,179,0.08) 100%);
  padding: 86px 0 94px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-grid > div:first-child {
  animation: fadeInLeft 0.8s ease-out;
}

.hero-grid > div:last-child {
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

.eyebrow,
.section-label {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #60708e;
  margin-bottom: 18px;
  animation: fadeInUp 0.6s ease-out;
}

.hero h1,
.page-hero h1,
h2 {
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.hero p,
.page-hero p,
.section-text {
  margin-top: 22px;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 760px;
}

.hero-buttons {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-panels {
  display: grid;
  gap: 20px;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.panel.dark {
  background: var(--navy);
  color: var(--white);
}

.panel .small {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #7383a1;
  margin-bottom: 10px;
}

.panel.dark .small {
  color: #b7c4dd;
}

.panel h3 {
  font-size: 1.85rem;
  line-height: 1.12;
  margin-bottom: 10px;
}

.panel p {
  color: var(--muted);
}

.panel.dark p {
  color: #d4def0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-size: 1.7rem;
  color: var(--navy);
}

.stat span {
  color: var(--muted);
  font-size: 0.96rem;
}

.section {
  padding: 90px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: start;
}

.box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
  animation: slideInRight 0.6s ease-out;
}

.box h3 {
  color: var(--navy);
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.box ul {
  padding-left: 20px;
}

.box li {
  margin-bottom: 12px;
  color: var(--muted);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: scaleIn 0.5s ease-out;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(11, 42, 74, 0.15);
}

.icon {
  font-size: 2rem;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.7rem;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--navy);
}

.card p {
  color: var(--muted);
}

/* Company Overview Section */
.overview-content {
  margin-top: 48px;
}

.overview-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 42px;
  animation: fadeInUp 0.7s ease-out;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.overview-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
  animation: scaleIn 0.6s ease-out;
}

.overview-section h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-list li {
  color: var(--text);
  font-weight: 500;
  padding-left: 24px;
  position: relative;
  transition: all 0.3s ease;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-1);
  font-weight: bold;
  font-size: 1.2rem;
}

.service-list li:hover {
  color: var(--brand-2);
  transform: translateX(8px);
}

.band {
  padding: 82px 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.band-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.band p {
  color: #ced8ea;
  margin-top: 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.contact-page {
  background: var(--bg-soft);
  padding: 60px 0 90px;
}

.contact-shell {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 56px 48px;
  box-shadow: var(--shadow);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-label {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.form-control,
.form-select,
.form-textarea {
  width: 100%;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 18px;
  font: inherit;
  font-size: 1rem;
  min-height: 48px;
  transition: all 0.25s ease;
}

.form-control::placeholder,
.form-select::placeholder,
.form-textarea::placeholder {
  color: #a0b1d4;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  font-family: inherit;
}

.form-control:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--brand-1);
  background: #fafbff;
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-2);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(54, 198, 230, 0.1);
}

.contact-submit {
  margin-top: 8px;
  width: 100%;
  min-height: 56px;
  font-size: 1.05rem;
  border-radius: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: var(--white);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.page-hero {
  background: linear-gradient(135deg, var(--bg-soft) 0%, rgba(54,198,230,0.08) 50%, rgba(11,121,179,0.08) 100%);
  padding: 74px 0 80px;
}

.section-intro {
  max-width: 780px;
}

.service-maps {
  background: var(--white);
}

.service-areas-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

.service-areas-list h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 24px;
}

.area-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}

.area-list li {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
}

.pin {
  margin-right: 12px;
  font-size: 1.3rem;
}

.service-map-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-placeholder {
  width: 100%;
  max-width: 100%;
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 40px;
  border: none;
}

.map-placeholder svg {
  width: 100%;
  height: auto;
}

/* Suburb animation - fade in blue then fade out to gray */
@keyframes suburb-pulse {
  0% { fill: #e8e8e8; opacity: 0.5; }
  25% { fill: #36c6e6; opacity: 0.6; }
  75% { fill: #36c6e6; opacity: 0.6; }
  100% { fill: #e8e8e8; opacity: 0.5; }
}

.suburb-anim {
  animation: suburb-pulse 10s ease-in-out infinite;
}

.suburb-anim-0 { animation-delay: 0s; }
.suburb-anim-1 { animation-delay: 0.4s; }
.suburb-anim-2 { animation-delay: 0.8s; }
.suburb-anim-3 { animation-delay: 1.2s; }
.suburb-anim-4 { animation-delay: 1.6s; }
.suburb-anim-5 { animation-delay: 2s; }
.suburb-anim-6 { animation-delay: 2.4s; }
.suburb-anim-7 { animation-delay: 2.8s; }
.suburb-anim-8 { animation-delay: 3.2s; }
.suburb-anim-9 { animation-delay: 3.6s; }
.suburb-anim-10 { animation-delay: 4s; }
.suburb-anim-11 { animation-delay: 4.4s; }
.suburb-anim-12 { animation-delay: 4.8s; }
.suburb-anim-13 { animation-delay: 5.2s; }
.suburb-anim-14 { animation-delay: 5.6s; }
.suburb-anim-15 { animation-delay: 6s; }
.suburb-anim-16 { animation-delay: 6.4s; }
.suburb-anim-17 { animation-delay: 6.8s; }
.suburb-anim-18 { animation-delay: 7.2s; }
.suburb-anim-19 { animation-delay: 7.6s; }
.suburb-anim-20 { animation-delay: 8s; }
.suburb-anim-21 { animation-delay: 8.4s; }
.suburb-anim-22 { animation-delay: 8.8s; }
.suburb-anim-23 { animation-delay: 9.2s; }
.suburb-anim-24 { animation-delay: 9.6s; }
.suburb-anim-25 { animation-delay: 10s; }

/* Gallery Section */
.section-gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: scaleIn 0.6s ease-out;
}

.gallery-item-large {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(11, 42, 74, 0.12);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-swap {
  position: relative;
  animation: galleryFadeIn 0.8s ease-in-out;
  display: none !important;
}

.gallery-desktop-only {
  display: block !important;
}

.gallery-swap-image {
  animation: gallerySwap 14s infinite;
  transition: opacity 0.6s ease-in-out;
}

.gallery-swap-image.gallery-swap-1 {
  animation: gallerySwap 14s infinite;
  transition: opacity 0.6s ease-in-out;
  opacity: 1;
  z-index: 2;
}

.gallery-swap-image.gallery-swap-2 {
  animation: gallerySwap 14s infinite 7s;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.6s ease-in-out;
  opacity: 0;
  z-index: 1;
}

.gallery-swap-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(11, 42, 74, 0.9), transparent);
  color: var(--white);
  padding: 20px 20px 16px;
  font-size: 1.15rem;
  margin: 0;
  transition: opacity 0.6s ease-in-out;
}

.gallery-swap-text.gallery-swap-text-1 {
  animation: gallerySwap 14s infinite;
  opacity: 1;
  z-index: 2;
  transition: opacity 0.6s ease-in-out;
}

.gallery-swap-text.gallery-swap-text-2 {
  animation: gallerySwap 14s infinite 7s;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.6s ease-in-out;
}

.gallery-item h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(11, 42, 74, 0.9), transparent);
  color: var(--white);
  padding: 20px 20px 16px;
  font-size: 1.15rem;
  margin: 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .band-wrap,
  .service-areas-grid,
  .overview-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .map-placeholder {
    min-height: unset;
    padding: 0;
    border-radius: 0;
  }

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

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

  .gallery-item-large:nth-child(1),
  .gallery-item-large:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item-swap {
    display: none;
  }

  .gallery-desktop-only {
    display: block;
  }

  .nav {
    gap: 20px;
  }

  .header-cta:not(.mobile-call-btn):not(.desktop-call-btn) {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    min-height: 76px;
    padding: 12px 0;
  }

  .logo {
    font-size: 1.45rem;
  }

  .logo img.brand-logo {
    width: 150px;
  }

  .logo-text {
    display: none;
    font-size: 1.45rem;
  }

  .tagline {
    font-size: 0.82rem;
    line-height: 1.35;
    max-width: 220px;
  }

  .hamburger {
    display: inline-flex;
  }

  .map-placeholder {
    min-height: unset;
    padding: 0;
    border-radius: 0;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav a {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .nav a:hover,
  .nav a.active {
    background: #f3f6fb;
  }

  .nav a::after {
    display: none;
  }

  .mobile-toggle:checked ~ .nav {
    display: flex;
  }

  .mobile-toggle:checked + .hamburger {
    background: #f3f6fb;
  }

  .mobile-call-btn {
    display: inline-flex;
    padding: 10px 14px !important;
    font-size: 1.2rem;
  }

  .desktop-call-btn {
    display: none;
  }

  .hero,
  .section,
  .band,
  .page-hero,
  .contact-page {
    padding: 58px 0;
  }

  .hero-grid,
  .split,
  .cards-3,
  .stats {
    grid-template-columns: 1fr;
  }

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

  .gallery-item {
    aspect-ratio: 4/3;
  }

  .gallery-item-swap {
    display: block !important;
  }

  .gallery-desktop-only {
    display: none !important;
  }

  .hero-grid {
    gap: 32px;
  }

  .cards-3 {
    gap: 18px;
  }

  .panel,
  .box,
  .card,
  .stat {
    border-radius: 22px;
    padding: 24px;
  }

  .hero h1,
  .page-hero h1,
  h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .hero p,
  .page-hero p,
  .section-text,
  .card p,
  .panel p {
    font-size: 1rem;
  }

  .panel h3,
  .card h3,
  .box h3 {
    font-size: 1.4rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn,
  .contact-submit {
    width: 100%;
  }

  .form-label {
    font-size: 0.98rem;
  }

  .footer-wrap,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .area-list {
    column-count: 1;
  }
}
