/* ============================================================
   GLOBAL STYLES — AusPath Migration Consultants
   ============================================================ */

:root {
  --primary:        #1a3a6b;
  --primary-dark:   #122a52;
  --primary-light:  #2a5298;
  --accent:         #c8960c;
  --accent-light:   #f5c842;
  --white:          #ffffff;
  --off-white:      #f7f9fc;
  --text:           #1c2b3a;
  --text-muted:     #5a6a7d;
  --border:         #dce3ec;
  --success:        #1a7a4a;
  --success-bg:     #eaf7f0;
  --error:          #b91c1c;
  --error-bg:       #fef2f2;
  --radius:         12px;
  --radius-sm:      8px;
  --shadow-sm:      0 2px 8px rgba(26,58,107,0.08);
  --shadow-md:      0 6px 24px rgba(26,58,107,0.12);
  --shadow-lg:      0 16px 48px rgba(26,58,107,0.16);
  --transition:     0.25s ease;
  --font:           -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }

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

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-lg { padding: 0.9rem 2.2rem; font-size: 1.05rem; }

.mt-2 { margin-top: 1.5rem; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 42, 82, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(18, 28, 56, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-icon { font-size: 1.6rem; }
.brand-text { font-size: 1.15rem; font-weight: 700; color: var(--white); letter-spacing: -0.3px; }
.brand-accent { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--accent-light); color: var(--primary-dark) !important; transform: translateY(-1px); }

/* ── Language switcher ── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.5rem;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(255,255,255,0.2);
}
.lang-btn {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  border-radius: 5px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.lang-btn:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.lang-btn.lang-active { color: var(--accent-light); background: rgba(255,255,255,0.1); }
.lang-sep { color: rgba(255,255,255,0.25); font-size: 0.75rem; user-select: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── Page header (contact / message) ── */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  padding: 7.5rem 0 3rem;
  text-align: center;
  color: var(--white);
}
.page-header h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 0.75rem; }
.page-header p { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto; }

/* ── Section titles ── */
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

/* ── Alert ── */
.alert {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.alert-icon { font-size: 1.4rem; flex-shrink: 0; }
.alert-success { background: var(--success-bg); border: 1px solid #a7f3d0; color: var(--success); }
.alert-error   { background: var(--error-bg);   border: 1px solid #fca5a5; color: var(--error); }
.error-list { margin: 0.5rem 0 0 1.25rem; }
.error-list li { margin-bottom: 0.25rem; }

/* ── Footer ── */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}
.footer-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-brand strong { color: var(--white); font-size: 1rem; }
.footer-brand .brand-icon { font-size: 1.5rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; }
.footer-links a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent-light); }
.footer-legal { text-align: right; line-height: 1.8; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(18, 28, 56, 0.98);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-link, .nav-cta { text-align: center; padding: 0.75rem 1rem; }

  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .footer-legal { text-align: center; }
  .footer-links { flex-wrap: wrap; }
}

/* ── Style 2: Warm Yellow / Navy ── */
body.style-2 {
  background: #FFF8DC;
  color: #1a3a6b;
}

/* Navbar */
body.style-2 .navbar {
  background: rgba(255, 218, 50, 0.97);
  border-bottom: 1px solid rgba(26,58,107,0.2);
}
body.style-2 .navbar.scrolled {
  background: rgba(255, 200, 30, 0.98);
}
body.style-2 .brand-text { color: #1a3a6b; }
body.style-2 .brand-accent { color: #122a52; }
body.style-2 .nav-link { color: rgba(26,58,107,0.85); }
body.style-2 .nav-link:hover,
body.style-2 .nav-link.active { color: #1a3a6b; background: rgba(26,58,107,0.1); }
body.style-2 .nav-cta { background: #1a3a6b; color: #ffffff; }
body.style-2 .nav-cta:hover { background: #122a52; color: #ffffff; transform: translateY(-1px); }
body.style-2 .lang-btn { color: rgba(26,58,107,0.7); }
body.style-2 .lang-btn:hover { color: #1a3a6b; background: rgba(26,58,107,0.1); }
body.style-2 .lang-btn.lang-active { color: #1a3a6b; background: rgba(26,58,107,0.12); }
body.style-2 .lang-sep { color: rgba(26,58,107,0.3); }
body.style-2 .nav-toggle span { background: #1a3a6b; }

/* Hero sky — swap dark navy gradient for warm yellow */
body.style-2 .hero-sky {
  background: linear-gradient(
    160deg,
    #e8a000 0%,
    #f5c400 20%,
    #ffda2e 40%,
    #ffe55a 60%,
    #fff0a0 80%,
    #FFF8DC 100%
  );
  background-size: 300% 300%;
}
/* Stars are barely visible on yellow — darken them */
body.style-2 .star { background: rgba(26,58,107,0.25); }
/* Wave fill — match yellow theme */
body.style-2 .wave-path { fill: #FFF8DC; }

/* Hero text */
body.style-2 .hero-title,
body.style-2 .hero-subtitle,
body.style-2 .hero-title-sub { color: #1a3a6b; }
body.style-2 .hero-badge { color: #122a52; background: rgba(26,58,107,0.12); border: 1px solid rgba(26,58,107,0.2); }
body.style-2 .title-highlight { color: #122a52; }

/* Outline button in hero context */
body.style-2 .btn-outline { color: #1a3a6b; border-color: rgba(26,58,107,0.6); }
body.style-2 .btn-outline:hover { background: rgba(26,58,107,0.1); border-color: #1a3a6b; color: #1a3a6b; }

/* CTA banner — keep navy so it stands out */
body.style-2 .cta-banner { background: #1a3a6b; }

/* Footer — match yellow/navy theme */
body.style-2 .footer {
  background: rgba(255, 218, 50, 0.97);
  color: rgba(26,58,107,0.85);
  border-top: 1px solid rgba(26,58,107,0.15);
}
body.style-2 .footer-brand strong { color: #1a3a6b; }
body.style-2 .footer-links a { color: rgba(26,58,107,0.75); }
body.style-2 .footer-links a:hover { color: #122a52; }
body.style-2 .footer-legal { color: rgba(26,58,107,0.7); }

/* ── Brand icon image (nav + footer) ── */
.brand-icon-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-brand .brand-icon-img {
  height: 40px;
}

/* ── Content pages (About, Services) ── */
.content-section { padding: 4rem 0; }
.content-body {
  max-width: 800px;
  margin: 0 auto;
}
.content-body p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

/* ── About Page ── */
.about-intro {
  padding: 5rem 0 4rem;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-logo-img {
  max-width: 360px;
  width: 100%;
  filter: drop-shadow(0 16px 48px rgba(26,58,107,0.18));
  transition: transform 0.4s ease;
}
.about-logo-img:hover {
  transform: scale(1.03);
}
.about-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.about-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.about-intro-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.about-quote {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  padding: 4.5rem 0;
}
.about-blockquote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
  border: none;
}
.about-blockquote p {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.75;
}
.about-blockquote p::before {
  content: '\201C';
  font-size: 4.5rem;
  color: var(--accent-light);
  line-height: 0;
  vertical-align: -1.75rem;
  margin-right: 0.1em;
  font-family: Georgia, 'Times New Roman', serif;
}
.about-blockquote p::after {
  content: '\201D';
  font-size: 4.5rem;
  color: var(--accent-light);
  line-height: 0;
  vertical-align: -1.75rem;
  margin-left: 0.1em;
  font-family: Georgia, 'Times New Roman', serif;
}

.about-values {
  padding: 5rem 0;
  background: var(--off-white);
}
.about-values-heading {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}
.about-values-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.about-value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.about-value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}
.about-value-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-intro { padding: 3rem 0; }
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-logo-img { max-width: 260px; }
  .about-values-grid { grid-template-columns: 1fr; }
}
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.service-detail-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
}
.service-detail-card .service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-detail-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}
.service-detail-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.services-cta {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.services-cta p {
  font-size: 1.1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
