/* ============================================================
   HOME PAGE — AusPath Migration Consultants
   ============================================================ */

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 68px;
}

/* Animated sky gradient */
.hero-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    #020f2e 0%,
    #0a1f4e 20%,
    #0d2a6e 40%,
    #1a3a6b 60%,
    #2a5298 80%,
    #1a4a80 100%
  );
  background-size: 300% 300%;
  animation: skyShift 18s ease infinite;
  z-index: 0;
}

/* Stars */
.stars { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
}
.star-1 { top: 8%;  left: 15%; animation: twinkle 2.1s ease-in-out infinite; width: 4px; height: 4px; }
.star-2 { top: 12%; left: 45%; animation: twinkle 3.4s ease-in-out infinite 0.5s; }
.star-3 { top: 6%;  left: 70%; animation: twinkle 2.7s ease-in-out infinite 1s; width: 4px; height: 4px; }
.star-4 { top: 18%; left: 82%; animation: twinkle 1.9s ease-in-out infinite 0.2s; }
.star-5 { top: 22%; left: 30%; animation: twinkle 3.1s ease-in-out infinite 1.5s; }

/* Southern Cross */
.sc-1 { top: 10%; right: 12%; width: 5px; height: 5px; animation: twinkle 2.2s ease-in-out infinite; }
.sc-2 { top: 14%; right: 9%;  width: 4px; height: 4px; animation: twinkle 2.8s ease-in-out infinite 0.4s; }
.sc-3 { top: 18%; right: 14%; width: 6px; height: 6px; animation: twinkle 1.8s ease-in-out infinite 0.8s; }
.sc-4 { top: 13%; right: 17%; width: 3px; height: 3px; animation: twinkle 3.2s ease-in-out infinite 1.2s; }
.sc-5 { top: 21%; right: 11%; width: 4px; height: 4px; animation: twinkle 2.5s ease-in-out infinite 0.2s; }

/* Flying plane */
.plane-wrapper {
  position: absolute;
  top: 18%;
  left: 0;
  z-index: 2;
  animation: flyAcross 22s linear infinite;
  animation-delay: 3s;
}
.plane { width: 100px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }

/* Sydney skyline */
.hero-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  animation: skylineRise 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.3s;
}
.hero-skyline svg { width: 100%; height: auto; }

/* Animated wave */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  z-index: 3;
  width: 200%;
}
.hero-wave svg { width: 100%; height: 80px; }

.wave-path { fill: var(--white); }
.wave-path-1 {
  animation: waveDrift 12s linear infinite;
  opacity: 0.9;
}
.wave-path-2 {
  animation: waveDrift 16s linear infinite reverse;
  fill: #f0f5fc;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
  padding: 2rem 1.5rem 8rem;
  max-width: 780px;
}

.hero-badge {
  display: inline-block;
  background: rgba(245, 200, 66, 0.2);
  border: 1px solid rgba(245, 200, 66, 0.5);
  color: var(--accent-light);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.title-highlight {
  color: var(--accent-light);
  text-shadow: 0 0 30px rgba(245, 200, 66, 0.4);
}

.hero-title-sub {
  display: block;
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  font-weight: 600;
  opacity: 0.88;
  margin-top: 0.4rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Kangaroo */
.kangaroo-wrapper {
  position: absolute;
  bottom: 18%;
  right: 5%;
  z-index: 5;
  width: clamp(70px, 10vw, 120px);
  opacity: 0.35;
}

/* ── Services section ── */
.services {
  padding: 5rem 0;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Why us ── */
.why-us {
  padding: 5rem 0;
  background: var(--white);
}
.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-us-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text);
}
.check {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Australia map */
.aus-map { width: 100%; max-width: 420px; margin: 0 auto; }
.aus-map-path {
  fill: var(--primary);
  stroke: var(--primary-light);
  stroke-width: 2;
  stroke-dasharray: 2000;
  stroke-dashoffset: 0;
  animation: drawMap 3s ease-out forwards;
  animation-delay: 0.5s;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 5rem 0;
}
.cta-inner {
  text-align: center;
  color: var(--white);
}
.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.cta-inner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.cta-banner .btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--primary-dark);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .why-us-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-us-map { order: -1; }
  .aus-map { max-width: 300px; }
}
@media (max-width: 600px) {
  .hero-content { padding-bottom: 10rem; }
  .kangaroo-wrapper { display: none; }
}
