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

:root {
  --teal:       #3ab5ac;
  --teal-dark:  #2a9d94;
  --teal-light: #e2f5f3;
  --blue:       #1565c0;
  --blue-dark:  #0d47a1;
  --blue-light: #deeaf8;
  --mint:       #eaf7f5;
  --gold:       #c9a227;
  --text:       #1a2e3b;
  --muted:      #5a7080;
  --white:      #ffffff;
  --border:     #cde8e4;
  --radius:     12px;
  --shadow:     0 6px 24px rgba(58,181,172,.13);
  --shadow-sm:  0 2px 10px rgba(0,0,0,.08);
}

body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); line-height: 1.7; background: var(--white); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn { display: inline-block; padding: 13px 30px; border-radius: 8px; font-weight: 700; font-size: .97rem; transition: all .22s; cursor: pointer; border: 2px solid transparent; }
.btn-primary  { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(58,181,172,.35); }
.btn-outline  { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-blue     { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost    { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-ghost:hover { background: var(--teal-light); }
.btn-white    { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--blue-light); }
.center-btn   { text-align: center; margin-top: 40px; }

/* ── Navbar ── */
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 70px; background: var(--white);
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(58,181,172,.10);
}
.logo { font-size: 1.2rem; font-weight: 800; color: var(--blue); display: flex; align-items: center; gap: 10px; }
.logo-cross { width: 36px; height: 36px; background: var(--teal); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.3rem; font-weight: 900; flex-shrink: 0; }
.navbar-logo { height: 48px; width: auto; display: block; }
.navbar-logo-wrap { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: .93rem; font-weight: 600; color: var(--text); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-cta { background: var(--teal) !important; color: var(--white) !important; padding: 9px 22px; border-radius: 7px; }
.nav-cta:hover { background: var(--teal-dark) !important; color: var(--white) !important; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--teal); }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden; min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(120deg, #061529 0%, #0a2a5c 40%, #0e4a6e 70%, #0e6b6b 100%);
}

/* Right diagonal photo */
.hero-split-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 55%;
  clip-path: polygon(14% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 1;
}
.hero-split-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-split-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to right, #0a2a5c 0%, rgba(10,42,92,.55) 35%, rgba(10,42,92,.1) 100%);
}

/* Particles */
.hero-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(160,232,226,.5);
  animation: particleRise linear infinite;
}
.particle.cross {
  background: transparent; border-radius: 0; font-size: 1rem; font-weight: 900;
  color: rgba(160,232,226,.35); line-height: 1;
}
@keyframes particleRise {
  from { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  to   { transform: translateY(-15vh) rotate(540deg); opacity: 0; }
}

/* Decorative rings */
.hero-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.deco-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(58,181,172,.18);
  animation: ringPulse 5s ease-in-out infinite;
}
.dr1 { width: 340px; height: 340px; left: -100px; top: 50%; transform: translateY(-50%); animation-delay: 0s; }
.dr2 { width: 560px; height: 560px; left: -190px; top: 50%; transform: translateY(-50%); animation-delay: 1.8s; }
.dr3 { width: 800px; height: 800px; left: -280px; top: 50%; transform: translateY(-50%); animation-delay: 3.5s; }
@keyframes ringPulse {
  0%,100% { opacity: .18; transform: translateY(-50%) scale(1); }
  50%      { opacity: .38; transform: translateY(-50%) scale(1.04); }
}

/* Hero layout */
.hero-inner { position: relative; z-index: 3; padding: 110px 0 140px; }
.hero-content { max-width: 580px; color: white; }

/* Pill tag */
.hero-pill-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22); border-radius: 50px;
  padding: 7px 18px; font-size: .78rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 24px; color: rgba(255,255,255,.9);
  animation: fadeDown .7s ease both;
}
.pill-dot {
  width: 8px; height: 8px; background: #3ab5ac; border-radius: 50%;
  box-shadow: 0 0 8px #3ab5ac; animation: dotPulse 1.8s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100%{box-shadow:0 0 0 0 rgba(58,181,172,.6);} 50%{box-shadow:0 0 0 6px rgba(58,181,172,0);} }
@keyframes fadeDown { from{opacity:0;transform:translateY(-14px);} to{opacity:1;transform:translateY(0);} }

/* Heading */
.hero-h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 900;
  line-height: 1.08; margin-bottom: 20px;
  animation: slideRight .8s .15s ease both;
}
.typewriter { display: inline-block; border-right: 3px solid #3ab5ac; padding-right: 4px; }
.typewriter.done { border-right: none; }
.hero-accent { color: #7dede7; display: block; }
@keyframes slideRight { from{opacity:0;transform:translateX(-32px);} to{opacity:1;transform:translateX(0);} }

/* Sub text */
.hero-sub { font-size: 1.08rem; opacity: .88; max-width: 460px; margin-bottom: 8px; animation: fadeUp .8s .3s ease both; }
.hero-langs { font-size: .85rem; opacity: .6; margin-bottom: 30px; animation: fadeUp .8s .4s ease both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }

/* Buttons */
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; animation: fadeUp .8s .5s ease both; }

.btn-teal-glow {
  background: var(--teal); color: white; border-color: var(--teal);
  animation: glowPulse 2.5s 1.4s ease-in-out infinite;
}
.btn-teal-glow:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(58,181,172,.45); }
@keyframes glowPulse { 0%,100%{box-shadow:0 0 0 0 rgba(58,181,172,.5);} 50%{box-shadow:0 0 0 16px rgba(58,181,172,0);} }

.btn-glass {
  background: rgba(255,255,255,.12); color: white; border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

/* Mini stats */
.hero-mini-stats {
  display: flex; align-items: center; gap: 20px;
  animation: fadeUp .8s .7s ease both;
}
.hms-item strong { display: block; font-size: 1.35rem; font-weight: 900; color: #7dede7; line-height: 1; }
.hms-item span   { font-size: .78rem; color: rgba(255,255,255,.6); }
.hms-sep { width: 1px; height: 38px; background: rgba(255,255,255,.2); }

/* Wave */
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; z-index: 4; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; display: block; }

/* ── Stats Bar ── */
.stats-bar { background: var(--blue-dark); padding: 40px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 20px; border-right: 1px solid rgba(255,255,255,.15); color: white; }
.stat-item:last-child { border-right: none; }
.stat-num-wrap { font-size: 2.4rem; font-weight: 900; color: #a0e8e3; line-height: 1; margin-bottom: 6px; }
.stat-num-wrap .suffix { font-size: 1.2rem; }
.stat-desc { font-size: .85rem; opacity: .8; font-weight: 500; }

/* ── Section Base ── */
.section { padding: 80px 0; }
.bg-mint  { background: var(--mint); }
.bg-light { background: #f4fbf9; }
.section-title { font-size: 2rem; font-weight: 900; text-align: center; margin-bottom: 14px; color: var(--text); }
.section-title span { color: var(--teal); }
.section-sub { text-align: center; color: var(--muted); max-width: 600px; margin: 0 auto 48px; font-size: 1.02rem; }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity .65s ease, transform .65s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity .65s ease, transform .65s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── Photo Cards (Why Us) ── */
.photo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 8px; }
.photo-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.photo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.photo-card-img { height: 190px; overflow: hidden; }
.photo-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-card:hover .photo-card-img img { transform: scale(1.06); }
.photo-card-body { padding: 22px; }
.photo-card-body h3 { font-size: 1.05rem; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.photo-card-body p  { color: var(--muted); font-size: .92rem; line-height: 1.6; }

/* ── Services Preview ── */
.service-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 200px; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.svc-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.svc-tile img { width: 100%; height: 100%; object-fit: cover; }
.svc-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,71,161,.85) 0%, rgba(13,71,161,.2) 100%);
  display: flex; align-items: flex-end; padding: 18px;
}
.svc-tile-overlay span { color: white; font-weight: 800; font-size: 1rem; }

/* ── Service Detail Cards ── */
.service-detail-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 28px;
  display: grid; grid-template-columns: 280px 1fr; transition: transform .22s;
}
.service-detail-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc-img { height: 100%; min-height: 200px; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.svc-body h3 { font-size: 1.25rem; font-weight: 800; color: var(--blue); margin-bottom: 10px; }
.svc-body p  { color: var(--muted); font-size: .97rem; }

/* ── Hiring Banner ── */
.hiring-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--teal-dark) 100%);
  padding: 64px 0;
}
.hiring-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hiring-inner h2 { font-size: 1.8rem; font-weight: 900; color: white; margin-bottom: 10px; }
.hiring-inner p  { color: rgba(255,255,255,.88); max-width: 520px; font-size: 1.02rem; }

/* ── Trust Band ── */
.trust-band { background: var(--white); padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.trust-logo { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.trust-logo img { height: 64px; width: auto; object-fit: contain; filter: none; }
.trust-logo .chap-img { height: 80px; }
.trust-logo span { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.trust-divider { width: 1px; height: 60px; background: var(--border); }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: 1.8rem; font-weight: 900; color: var(--text); margin-bottom: 16px; }
.about-text p { color: var(--muted); margin-bottom: 14px; font-size: .97rem; }
.values-list { margin-top: 18px; }
.values-list li { padding: 10px 0; border-bottom: 1px solid var(--border); font-weight: 600; display: flex; gap: 12px; align-items: center; }
.values-list li span { color: var(--teal); font-size: 1.1rem; }

/* ── Team ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; }
.team-photo { height: 200px; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 18px; }
.team-info h3 { font-weight: 800; margin-bottom: 4px; }
.team-info p { color: var(--teal); font-size: .9rem; font-weight: 700; }

/* ── Accreditation cards ── */
.accred-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 32px; }
.accred-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow-sm); }
.accred-icon { font-size: 2.8rem; margin-bottom: 14px; }
.accred-card h3 { font-weight: 800; margin-bottom: 8px; color: var(--blue); }
.accred-card p { color: var(--muted); font-size: .92rem; }

/* ── Careers ── */
.perks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 32px; }
.perk { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow-sm); }
.perk-photo { height: 140px; overflow: hidden; border-radius: 8px; margin-bottom: 16px; }
.perk-photo img { width: 100%; height: 100%; object-fit: cover; }
.perk h4 { font-weight: 800; margin-bottom: 8px; color: var(--blue); }
.perk p { color: var(--muted); font-size: .9rem; }

.job-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow-sm); margin-bottom: 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; transition: transform .22s; }
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.job-info h3 { font-size: 1.1rem; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.job-info p { color: var(--muted); font-size: .93rem; max-width: 560px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tag { background: var(--teal-light); color: var(--teal-dark); border-radius: 20px; padding: 4px 14px; font-size: .82rem; font-weight: 700; }
.tag.green { background: #e6f4ea; color: #2e7d32; }

/* ── Apply Form ── */
.apply-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow-sm); max-width: 720px; margin: 0 auto; }
.apply-form h2 { font-size: 1.7rem; font-weight: 900; margin-bottom: 8px; }
.form-sub { color: var(--muted); margin-bottom: 30px; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 52px; align-items: start; }
.contact-info h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: 12px; }
.contact-info > p { color: var(--muted); margin-bottom: 28px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.c-icon { width: 44px; height: 44px; background: var(--teal-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.contact-item h4 { font-weight: 800; margin-bottom: 2px; color: var(--text); }
.contact-item p, .contact-item a { color: var(--muted); font-size: .95rem; }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: .97rem; font-family: inherit; color: var(--text); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(58,181,172,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.form-success { display: none; background: #e6f4ea; border: 1px solid #a5d6a7; border-radius: 8px; padding: 16px; color: #2e7d32; font-weight: 700; margin-top: 16px; text-align: center; }

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--teal) 100%);
  color: var(--white); padding: 68px 32px; text-align: center;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; }
.page-hero p { font-size: 1.05rem; opacity: .9; max-width: 620px; margin: 14px auto 0; }

/* ── Accred logos in sections ── */
.accred-logo-row { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; margin-top: 40px; }
.accred-logo-item { text-align: center; }
.accred-logo-item img { height: 80px; width: auto; object-fit: contain; margin: 0 auto 8px; }
.accred-logo-item img.medicare-logo { height: 56px; }
.accred-logo-item span { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* ── Footer ── */
.footer { background: #0a1f35; color: #94a3b8; padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand { color: var(--white); display: flex; flex-direction: column; gap: 6px; }
.footer-brand .logo-text { font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.footer-brand p { color: #64748b; font-size: .9rem; margin-top: 10px; line-height: 1.6; }
.footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 18px; font-weight: 800; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: #64748b; font-size: .92rem; transition: color .2s; }
.footer ul li a:hover { color: var(--teal); }
.footer-contact p, .footer-contact a { color: #64748b; font-size: .92rem; margin-bottom: 10px; display: block; }
.footer-contact a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid #1e3a57; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: #475569; font-size: .84rem; }
.footer-accred { display: flex; gap: 16px; }
.footer-accred span { background: rgba(58,181,172,.15); color: var(--teal); border-radius: 5px; padding: 3px 10px; font-size: .78rem; font-weight: 700; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo-card { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .service-tiles { grid-template-columns: repeat(2, 1fr); }
  .service-detail-card { grid-template-columns: 1fr; }
  .svc-img { min-height: 220px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 20px; gap: 18px; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .navbar { position: relative; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .service-tiles { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hiring-inner { flex-direction: column; text-align: center; }
  .job-card { flex-direction: column; }
  .trust-inner { gap: 24px; }
  .trust-divider { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
