:root{
  --maroon:#8a0a2e;--maroon-2:#b3123f;--pink:#ff3d6e;--blue:#0a2a6b;--blue-2:#07215a;
  --ink:#0d1b3d;--muted:#46506b;--bg:#fff;--soft:#fdeef2;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Plus Jakarta Sans',system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--bg);overflow-x:hidden;line-height:1.6}
.wrap{width:min(1240px,92%);margin-inline:auto}
a{color:inherit}
svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:12px;padding:16px 32px;border-radius:999px;background:linear-gradient(120deg,var(--maroon),var(--maroon-2),var(--maroon));background-size:200% 100%;color:#fff;font-weight:700;text-decoration:none;box-shadow:0 12px 26px rgba(138,10,46,.35);transition:transform .3s,box-shadow .3s,background-position .6s}
.btn svg{width:18px;height:18px;transition:transform .3s}
.btn:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(138,10,46,.45);background-position:100% 0}
.btn:hover svg{transform:translateX(5px)}
.btn.sm{padding:9px 18px;font-size:13px;background:var(--blue);box-shadow:none;gap:8px}
.btn.sm svg{width:14px;height:14px}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#fff 0%,#f4f6fd 55%,#fde9ef 100%);padding:70px 0 40px}
.blob{position:absolute;border-radius:50%;filter:blur(70px);pointer-events:none;animation:float 18s ease-in-out infinite}
.b1{width:340px;height:340px;background:rgba(179,18,63,.18);left:-80px;bottom:-80px}
.b2{width:420px;height:420px;background:rgba(23,71,184,.16);right:30%;top:-140px;animation-delay:-7s;animation-duration:24s}
@keyframes float{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(50px,-30px) scale(1.15)}}
.hero-grid{position:relative;display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:30px;min-height:420px}
.kicker{display:flex;align-items:center;gap:14px;color:var(--maroon-2);font-weight:700;font-size:14px;letter-spacing:.06em;margin-bottom:18px}
.kicker span{width:34px;height:2px;background:var(--maroon-2);transform-origin:left;animation:grow 1.2s .4s both}
@keyframes grow{from{transform:scaleX(0)}}
.hero h1{font-size:clamp(34px,4.6vw,56px);line-height:1.1;font-weight:800;color:var(--blue-2);letter-spacing:-1px}
.hero h1 em{font-style:normal;background:linear-gradient(90deg,var(--maroon),var(--pink),var(--maroon));background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:shimmer 5s linear infinite}
@keyframes shimmer{to{background-position:200% 0}}
.lead{font-size:19px;color:var(--muted);max-width:420px;margin:20px 0 30px}
.hero-text>*{animation:rise .9s cubic-bezier(.2,.8,.2,1) both}
.hero-text>:nth-child(2){animation-delay:.12s}.hero-text>:nth-child(3){animation-delay:.24s}.hero-text>:nth-child(4){animation-delay:.36s}
@keyframes rise{from{opacity:0;transform:translateY(30px)}}

.hero-art{position:relative;height:420px}
.arc{position:absolute;inset:-60px -12vw -60px 0;border-radius:50% 0 0 50% / 50% 0 0 50%;background:linear-gradient(135deg,#fff,#e9eefb);box-shadow:-14px 0 0 -4px rgba(179,18,63,.55),-28px 0 40px rgba(10,42,107,.12);animation:arcIn 1.2s cubic-bezier(.2,.8,.2,1) both}
@keyframes arcIn{from{transform:translateX(120px);opacity:0}}
.agents,.hero-art>img{position:absolute;right:0;bottom:-40px;height:108%;width:auto;max-width:100%;object-fit:contain;animation:rise 1.1s .3s both}
.badge{position:absolute;right:6%;bottom:6px;width:136px;height:136px;border-radius:50%;background:#fff;display:grid;place-items:center;align-content:center;text-align:center;gap:6px;box-shadow:0 12px 34px rgba(10,42,107,.25);font-size:12px;font-weight:700;color:var(--blue);line-height:1.25;animation:bob 4s ease-in-out infinite}
.badge svg{width:42px;height:42px;padding:9px;border-radius:50%;background:var(--maroon);color:#fff}
@keyframes bob{50%{transform:translateY(-10px)}}

/* ---------- intro ---------- */
.intro{padding:34px 0 10px;font-size:17px;color:var(--muted)}
.intro strong{color:var(--blue)}

/* ---------- enquiry card ---------- */
.enquiry{position:relative;overflow:hidden;margin:26px 0;padding:38px 34px 34px;border-radius:18px;color:#fff;background:linear-gradient(135deg,#0a2a6b,#06205a 60%,#0a2a6b);background-size:200% 200%;animation:grad 12s ease-in-out infinite alternate;box-shadow:0 20px 44px rgba(10,42,107,.3)}
@keyframes grad{to{background-position:100% 100%}}
.map-dots{position:absolute;right:-40px;top:0;width:55%;height:100%;opacity:.25;background-image:radial-gradient(#8fb0ff 1.4px,transparent 1.6px);background-size:12px 12px;-webkit-mask-image:radial-gradient(closest-side,#000,transparent);mask-image:radial-gradient(closest-side,#000,transparent);animation:drift 20s linear infinite alternate}
@keyframes drift{to{transform:translateX(-30px)}}
.enquiry h2{position:relative;font-size:24px;font-weight:700}
.e-line{width:40px;height:3px;background:var(--pink);margin:10px 0 30px;border-radius:3px}
.e-grid{position:relative;display:grid;grid-template-columns:repeat(4,1fr)}
.e-item{padding:0 26px;border-left:1px solid rgba(255,255,255,.15);transition:transform .35s}
.e-item:first-child{padding-left:0;border:0}
.e-item:hover{transform:translateY(-6px)}
.ico{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.1);color:var(--pink);margin-bottom:26px;position:relative}
.ico::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid var(--pink);opacity:0;animation:ring 3s infinite}
.e-item:nth-child(2) .ico::after{animation-delay:.7s}.e-item:nth-child(3) .ico::after{animation-delay:1.4s}.e-item:nth-child(4) .ico::after{animation-delay:2.1s}
@keyframes ring{0%{transform:scale(1);opacity:.7}100%{transform:scale(1.6);opacity:0}}
.ico svg{width:24px;height:24px}
.e-item h3{font-size:18px;margin-bottom:8px}
.e-item p{font-size:14px;line-height:1.7;color:#dbe4ff;word-break:break-word}
.e-item a{text-decoration:none}.e-item a:hover{color:#fff;text-decoration:underline}

/* ---------- visit office ---------- */
.visit{position:relative;margin-top:40px;padding:60px 0 90px;background:linear-gradient(#fff,#fdeef2 55%,#f3d6de);overflow:hidden}
.visit::before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:rgba(179,18,63,.12);filter:blur(80px);left:-140px;bottom:-120px;animation:float 20s ease-in-out infinite}
.visit-head{text-align:center;max-width:820px;margin:0 auto 64px;position:relative}
.visit-head h2{display:flex;align-items:center;justify-content:center;gap:22px;font-size:clamp(28px,3.4vw,40px);font-weight:800;color:var(--blue-2);margin-bottom:14px}
.visit-head h2 em{font-style:normal;color:var(--maroon-2)}
.dash{width:clamp(30px,6vw,70px);height:3px;background:var(--maroon-2);border-radius:3px}
.visit-head p{color:var(--muted)}

.map-stage{position:relative;padding-top:20px}
.map-box{position:relative;z-index:2;height:380px;border-radius:18px;overflow:hidden;border:2px solid var(--blue);background:#e8ecf6;box-shadow:0 24px 50px rgba(10,42,107,.22)}
.map-box iframe{width:100%;height:100%;border:0;filter:saturate(.9)}
.map-card{position:absolute;left:14px;top:14px;max-width:300px;padding:16px 18px;border-radius:12px;background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(0,0,0,.18);animation:bob 5s ease-in-out infinite}
.map-card h4{font-size:14px;margin-bottom:6px}
.map-card p{font-size:12px;color:var(--muted);line-height:1.5}
.stars{font-size:12px;font-weight:700;color:#e8a100;margin:8px 0 10px}

/* robots slots */
.robot-slot{position:absolute;z-index:1;width:230px}
.robot-slot.left{left:-6px;top:-160px;z-index:1}
.robot-slot.right{right:-10px;bottom:-24px;z-index:3;width:250px}

/* ---------- robot ---------- */
.robot{position:relative;width:100%;cursor:pointer;-webkit-tap-highlight-color:transparent}
.robot svg{width:100%;height:auto;overflow:visible;display:block}
.bot{animation:hover 3.6s ease-in-out infinite;transform-box:fill-box}
.right .bot{animation-delay:-1.8s}
@keyframes hover{50%{transform:translateY(-7px)}}
.shadow{transform-origin:100px 252px;animation:sh 3.6s ease-in-out infinite}
@keyframes sh{50%{transform:scale(.82);opacity:.1}}
.head{transform-box:fill-box;transform-origin:50% 100%;transition:transform .5s cubic-bezier(.3,1.4,.5,1)}
.robot[data-mood="happy"] .head,.robot.waving .head{transform:rotate(-4deg)}
.ant{animation:glow 1.6s ease-in-out infinite}
@keyframes glow{50%{fill:#ffb3c6;filter:drop-shadow(0 0 6px #ff3d6e)}}

/* eyes: blink + follow cursor */
.eyes{transform:translate(var(--ex,0px),var(--ey,0px));transition:transform .15s}
.eye{transform-box:fill-box;transform-origin:center;animation:blink 5s infinite}
.robot:nth-of-type(1) .eye{animation-delay:-2s}
@keyframes blink{0%,94%,100%{transform:scaleY(1)}97%{transform:scaleY(.08)}}
.eyes-happy{opacity:0;transition:opacity .2s}
.robot[data-mood="happy"] .eyes-open,.robot.waving .eyes-open{opacity:0}
.robot[data-mood="happy"] .eyes-happy,.robot.waving .eyes-happy{opacity:1}
.cheek{transition:opacity .3s}
.robot[data-mood="happy"] .cheek,.robot.waving .cheek{opacity:.7}

/* mouth */
.mouth-big{opacity:0;transform-box:fill-box;transform-origin:50% 0}
.robot.talking .mouth-small{opacity:0}
.robot.talking .mouth-big{opacity:1;animation:talk .28s ease-in-out infinite alternate}
@keyframes talk{from{transform:scaleY(.35)}to{transform:scaleY(1)}}

/* arms */
.arm-l,.arm-r{transform-box:fill-box;transform-origin:50% 12%;transition:transform .5s cubic-bezier(.3,1.4,.5,1)}
.arm-r{animation:idleArm 4s ease-in-out infinite}
.arm-l{animation:idleArm 4s ease-in-out infinite reverse}
@keyframes idleArm{50%{transform:rotate(3deg)}}
.robot.waving .arm-r{animation:wave .6s ease-in-out infinite alternate}
@keyframes wave{from{transform:rotate(-125deg)}to{transform:rotate(-165deg)}}
.right .robot.waving .arm-r{animation-name:wave}

/* speech bubble */
.bubble{position:absolute;z-index:5;padding:12px 22px;border-radius:999px;background:#fff;color:var(--maroon);font-weight:800;font-size:17px;line-height:1.15;text-align:center;box-shadow:0 10px 24px rgba(138,10,46,.2);border:2px solid #f6c3d0;opacity:0;transform:scale(.6) translateY(10px);transform-origin:bottom left;transition:opacity .3s,transform .4s cubic-bezier(.3,1.5,.5,1);white-space:nowrap;pointer-events:none}
.bubble::after{content:"";position:absolute;bottom:-9px;left:26px;width:16px;height:16px;background:#fff;border-right:2px solid #f6c3d0;border-bottom:2px solid #f6c3d0;transform:rotate(45deg) skew(10deg,10deg)}
.left .bubble{left:62%;top:30px}
.right .bubble{right:55%;top:-26px;transform-origin:bottom right}
.right .bubble::after{left:auto;right:26px}
.robot.speaking .bubble{opacity:1;transform:none}
.bubble .txt::after{content:"";display:inline-block;width:2px;height:1em;background:currentColor;margin-left:3px;vertical-align:-2px;animation:caret .6s steps(1) infinite}
.robot:not(.typing) .bubble .txt::after{display:none}
@keyframes caret{50%{opacity:0}}

/* reveal on scroll */
.reveal{opacity:0;transform:translateY(34px);transition:opacity .8s,transform .8s cubic-bezier(.2,.8,.2,1)}
.reveal.in{opacity:1;transform:none}

/* responsive */
@media(max-width:980px){
  .hero-grid{grid-template-columns:1fr}
  .hero-art{height:340px;margin-top:10px}
  .arc{inset:0 -4vw 0 0;border-radius:40px}
  .badge{width:110px;height:110px;right:2%}
  .e-grid{grid-template-columns:1fr 1fr;row-gap:34px}
  .e-item:nth-child(3){border-left:0;padding-left:0}
  .robot-slot{width:150px}.robot-slot.right{width:160px;right:-4px;bottom:-16px}.robot-slot.left{top:-100px}
  .bubble{font-size:13px;padding:8px 14px}
  .map-box{height:340px}
}
@media(max-width:560px){
  .e-grid{grid-template-columns:1fr}.e-item{border:0;padding:0}
  .map-card{max-width:62%;padding:10px}.map-card p{display:none}
  .visit-head h2 .dash{display:none}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}}

/* ===== Font Awesome + images ===== */
.btn i{font-size:15px;transition:transform .3s}
.btn:hover i{transform:translateX(5px)}
.btn.sm:hover i{transform:translate(2px,-2px)}
.badge i{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--maroon);color:#fff;font-size:19px;animation:ringBell 3s ease-in-out infinite}
@keyframes ringBell{0%,60%,100%{transform:rotate(0)}65%{transform:rotate(-12deg)}72%{transform:rotate(10deg)}80%{transform:rotate(-6deg)}88%{transform:rotate(3deg)}}
.ico i{font-size:22px}
.stars i{font-size:11px;margin-left:1px}
.bubble .bi i{margin-left:8px;color:var(--pink);display:inline-block}
.bubble .bi i.fa-hand{animation:handWave .5s ease-in-out infinite alternate;transform-origin:70% 90%}
@keyframes handWave{from{transform:rotate(-18deg)}to{transform:rotate(22deg)}}
.hero-photo{position:absolute;z-index:1;inset:-60px -12vw -60px 0;width:calc(100% + 12vw);height:calc(100% + 120px);object-fit:cover;object-position:center top;border-radius:50% 0 0 50% / 50% 0 0 50%;animation:arcIn 1.2s .15s cubic-bezier(.2,.8,.2,1) both}
.badge{z-index:3}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:70px}
.gallery figure{position:relative;overflow:hidden;border-radius:18px;height:230px;box-shadow:0 14px 34px rgba(10,42,107,.18);background:#dfe6f8}
.gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .8s cubic-bezier(.2,.8,.2,1)}
.gallery figure:hover img{transform:scale(1.09)}
.gallery figcaption{position:absolute;left:0;right:0;bottom:0;padding:34px 18px 14px;color:#fff;font-weight:700;font-size:15px;display:flex;align-items:center;gap:10px;background:linear-gradient(transparent,rgba(6,32,90,.88));transition:padding .4s}
.gallery figcaption i{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--maroon-2);font-size:13px}
.gallery figure:hover figcaption{padding-bottom:22px}
@media(max-width:980px){.hero-photo{inset:0 -4vw 0 0;width:calc(100% + 4vw);height:100%;border-radius:40px}.gallery{grid-template-columns:1fr;margin-top:50px}.gallery figure{height:200px}}
/* Full hero background image */
.hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;

  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.78) 40%,
      rgba(255, 255, 255, 0.12) 100%
    ),
    url("../assets/contact.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Keep content above background */
.hero-bg {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 600px;
}

/* Remove old right-side image */
.hero-art > .hero-photo {
  display: none;
}

.hero-art .arc {
  display: none;
}

/* Mobile responsive background */
@media (max-width: 768px) {
  .hero {
    min-height: 600px;
    background-position: 60% center;
  }

  .hero-grid {
    min-height: 600px;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.35);
    pointer-events: none;
  }

  .hero-text {
    position: relative;
    z-index: 3;
  }
}
/* Remove only the robot below the map card */
.map-stage .robot-slot.right {
  display: none !important;
}

/* Keep the upper robot visible */
.map-stage .robot-slot.left {
  display: block !important;
}

/* =========================================
   MEGWORLD HEALTHCARE FOOTER
   Navy Blue + Maroon + White
========================================= */

.mwf {
  --mwf-navy: #102B52;
  --mwf-navy-dark: #081F42;
  --mwf-maroon: #941337;
  --mwf-rose: #ff6b8e;
  --mwf-ease: cubic-bezier(.22, 1, .36, 1);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 60px 0 22px;
  color: #e7edf8;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: linear-gradient(
    110deg,
    #081F42,
    #102B52 38%,
    #34173f 70%,
    #941337
  );
  background-size: 180% 180%;
  animation: mwf-background 18s ease-in-out infinite alternate;
}

.mwf *,
.mwf *::before,
.mwf *::after {
  box-sizing: border-box;
}

.mwf a {
  color: inherit;
  text-decoration: none;
}

.mwf ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mwf p,
.mwf h3,
.mwf address {
  margin: 0;
  font-style: normal;
}

.mwf-inner {
  position: relative;
  z-index: 2;
  width: min(1320px, 93%);
  margin: auto;
}

/* BACKGROUND EFFECTS */

.mwf-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.mwf-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
  animation: mwf-drift 12s ease-in-out infinite alternate;
}

.mwf-glow--l {
  background: #3286db;
  left: -100px;
  top: -100px;
}

.mwf-glow--r {
  background: #f33e79;
  right: -100px;
  bottom: -100px;
  animation-delay: -5s;
}

.mwf-steth {
  position: absolute;
  width: 130px;
  right: 5%;
  top: 8%;
  color: rgba(255,255,255,.08);
  animation: mwf-float 7s ease-in-out infinite alternate;
}

.mwf-wave {
  position: absolute;
  width: 200%;
  height: 140px;
  left: -50%;
  opacity: .15;
}

.mwf-wave--1 {
  top: 15%;
  color: #fff;
  animation: mwf-wave-move 25s linear infinite;
}

.mwf-wave--2 {
  bottom: 8%;
  color: #ff8eac;
  animation: mwf-wave-move 35s linear infinite reverse;
}

.mwf-wave svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.mwf-dots {
  position: absolute;
  width: 180px;
  height: 180px;
  opacity: .15;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 15px 15px;
}

.mwf-dots--l {
  left: 2%;
  bottom: 12%;
}

.mwf-dots--r {
  right: 2%;
  top: 20%;
}

/* MAIN GRID */

.mwf-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.15fr 1.1fr 1.05fr;
  grid-template-areas: "brand quick services contact";
  gap: 28px;
  align-items: start;
}

.mwf-brand {
  grid-area: brand;
  min-width: 0;
}

.mwf-quick {
  grid-area: quick;
}

.mwf-services {
  grid-area: services;
}

.mwf-contact-col {
  grid-area: contact;
  min-width: 0;
}

/* LOGO */

.mwf-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.mwf-logo__mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: var(--mwf-maroon);
  font-size: 35px;
  font-weight: 500;
  transition: transform .35s var(--mwf-ease);
}

.mwf-logo:hover .mwf-logo__mark {
  transform: rotate(90deg);
}

.mwf-logo__text strong {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
}

.mwf-logo__text small {
  display: block;
  margin-top: 7px;
  color: #c4d2e9;
  font-size: 10px;
  line-height: 1.5;
}

/* DESCRIPTION */

.mwf-about {
  max-width: 360px;
  margin-bottom: 22px !important;
  color: #c8d4e8;
  font-size: 13px;
  line-height: 1.9;
}

/* SOCIAL ICONS */

.mwf-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mwf-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  transition:
    background .3s,
    transform .3s,
    border-color .3s;
}

.mwf-social a:hover {
  background: var(--mwf-maroon);
  border-color: var(--mwf-rose);
  transform: translateY(-5px);
}

/* FOOTER CARDS */

.mwf-card {
  min-width: 0;
  padding: 23px 20px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 17px;
  background: rgba(255,255,255,.065);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
  transition:
    background .35s,
    border-color .35s,
    transform .35s;
}

.mwf-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,107,142,.4);
  transform: translateY(-4px);
}

.mwf-card__title {
  position: relative;
  margin-bottom: 22px !important;
  padding-bottom: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.mwf-card__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 3px;
  border-radius: 5px;
  background: var(--mwf-rose);
  transition: width .35s;
}

.mwf-card:hover .mwf-card__title::after {
  width: 65px;
}

/* QUICK LINKS AND SERVICES */

.mwf-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mwf-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mwf-list a {
  display: inline-block;
  color: #c8d4e8;
  font-size: 12.5px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  transition: color .25s, transform .25s;
}

.mwf-list a::before {
  content: "›";
  display: inline-block;
  margin-right: 8px;
  color: var(--mwf-rose);
  font-size: 18px;
  line-height: 0;
  transition: transform .25s;
}

.mwf-list a:hover {
  color: #fff;
  transform: translateX(4px);
}

.mwf-list a:hover::before {
  transform: translateX(3px);
}

/* CONTACT DETAILS */

.mwf-contact-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mwf-contact {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.mwf-contact li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #d1dbee;
  font-size: 12.5px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.mwf-contact a {
  color: #d1dbee;
  transition: color .25s;
}

.mwf-contact a:hover {
  color: var(--mwf-rose);
}

.mwf-ico {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255,107,142,.15);
  color: var(--mwf-rose);
  font-size: 18px;
}

/* LET'S TALK BUTTON */

.mwf-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 15px 22px;
  border-radius: 50px;
  background: linear-gradient(135deg, #ff3f6c, var(--mwf-maroon));
  box-shadow: 0 10px 26px rgba(255,63,108,.28);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: transform .3s, box-shadow .3s;
  animation: mwf-pulse 3s infinite;
}

.mwf-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 32px rgba(255,63,108,.4);
  animation-play-state: paused;
}

.mwf-arrow {
  font-size: 22px;
  transition: transform .3s;
}

.mwf-cta:hover .mwf-arrow {
  transform: translateX(6px);
}

/* COPYRIGHT BAR */

.mwf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: #b9c6dd;
  font-size: 12px;
}

.mwf-top {
  color: #e7edf8;
  transition: color .25s, transform .25s;
}

.mwf-top:hover {
  color: var(--mwf-rose);
  transform: translateY(-2px);
}

/* SCROLL REVEAL */

.mwf--js:not(.mwf--in) .mwf-r {
  opacity: 0;
}

.mwf--in .mwf-r {
  animation: mwf-reveal .8s var(--mwf-ease) both;
  animation-delay: calc(var(--i, 0) * 120ms);
}

/* ANIMATIONS */

@keyframes mwf-reveal {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mwf-background {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes mwf-drift {
  to { transform: translate(35px, 25px) scale(1.12); }
}

@keyframes mwf-float {
  from { transform: translateY(-8px); }
  to { transform: translateY(12px); }
}

@keyframes mwf-wave-move {
  from { transform: translateX(-8%); }
  to { transform: translateX(8%); }
}

@keyframes mwf-pulse {
  0%, 100% {
    box-shadow: 0 10px 26px rgba(255,63,108,.28);
  }
  50% {
    box-shadow: 0 10px 32px rgba(255,63,108,.5);
  }
}

/* TABLET */

@media (max-width: 1150px) {
  .mwf-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand contact"
      "quick services";
    gap: 25px;
  }

  .mwf-about {
    max-width: 520px;
  }
}

/* MOBILE */

@media (max-width: 720px) {
  .mwf {
    padding: 42px 0 20px;
  }

  .mwf-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "quick"
      "services"
      "contact";
    gap: 22px;
  }

  .mwf-card {
    padding: 22px;
  }

  .mwf-about {
    max-width: 100%;
  }

  .mwf-steth,
  .mwf-dots--r,
  .mwf-wave--2 {
    display: none;
  }

  .mwf-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .mwf-cols {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mwf-list {
    gap: 10px;
  }

  .mwf-logo__text strong {
    font-size: 19px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .mwf,
  .mwf *,
  .mwf *::before,
  .mwf *::after {
    animation: none !important;
    transition: none !important;
  }

  .mwf--js:not(.mwf--in) .mwf-r {
    opacity: 1;
  }
}

/* ==========================================
   PREMIUM GLASSMORPHISM FOOTER UPGRADE
   Navy Blue + Maroon + Frosted Glass
========================================== */

/* Rich glass background */
.mwf {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(
      ellipse at 12% 15%,
      rgba(54, 139, 231, 0.28),
      transparent 38%
    ),
    radial-gradient(
      ellipse at 88% 78%,
      rgba(211, 35, 91, 0.28),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      #06162f 0%,
      #102b52 42%,
      #241b40 72%,
      #57172f 100%
    );
}

/* Animated ambient glow */
.mwf-glow {
  filter: blur(100px);
  opacity: .48;
  mix-blend-mode: screen;
}

.mwf-glow--l {
  background: #258ce8;
}

.mwf-glow--r {
  background: #ef286b;
}

/* Glass cards */
.mwf .mwf-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,.13),
    rgba(255,255,255,.035) 55%,
    rgba(255,255,255,.075)
  );

  border: 1px solid rgba(255,255,255,.22);
  border-top-color: rgba(255,255,255,.38);
  border-left-color: rgba(255,255,255,.28);

  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -1px 0 rgba(255,255,255,.035),
    0 18px 45px rgba(0,0,0,.20),
    0 4px 12px rgba(4,15,40,.14);

  transition:
    transform .45s cubic-bezier(.2,.8,.2,1),
    border-color .4s,
    box-shadow .4s,
    background .4s;
}

/* Glossy reflection across each card */
.mwf .mwf-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background: linear-gradient(
    125deg,
    rgba(255,255,255,.16) 0%,
    rgba(255,255,255,.045) 22%,
    transparent 45%,
    transparent 72%,
    rgba(255,255,255,.055) 100%
  );

  opacity: .85;
}

/* Moving light reflection on hover */
.mwf .mwf-card::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -110%;
  width: 65%;
  height: 180%;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.11),
    rgba(255,255,255,.22),
    transparent
  );

  transform: skewX(-22deg);
  transition: left .85s ease;
}

.mwf .mwf-card:hover {
  transform: translateY(-8px);

  background: linear-gradient(
    135deg,
    rgba(255,255,255,.19),
    rgba(255,255,255,.065),
    rgba(255,255,255,.11)
  );

  border-color: rgba(255,255,255,.38);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 25px 60px rgba(0,0,0,.30),
    0 0 28px rgba(67,139,235,.12),
    0 0 24px rgba(211,35,91,.10);
}

.mwf .mwf-card:hover::after {
  left: 150%;
}

/* Premium glass logo mark */
.mwf-logo__mark {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,.98),
    rgba(220,234,255,.82)
  );

  border: 1px solid rgba(255,255,255,.8);

  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.9),
    0 8px 25px rgba(0,0,0,.18),
    0 0 18px rgba(255,255,255,.10);
}

/* Frosted social buttons */
.mwf .mwf-social a {
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.22);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 5px 16px rgba(0,0,0,.12);
}

.mwf .mwf-social a:hover {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.24),
    rgba(148,19,55,.75)
  );

  border-color: rgba(255,255,255,.55);

  box-shadow:
    0 8px 25px rgba(0,0,0,.20),
    0 0 20px rgba(255,107,142,.20);
}

/* Glass contact icons */
.mwf .mwf-ico {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.15),
    rgba(255,255,255,.045)
  );

  border: 1px solid rgba(255,255,255,.18);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.15),
    0 5px 14px rgba(0,0,0,.10);
}

/* Glossy CTA */
.mwf .mwf-cta {
  position: relative;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,.35);

  background: linear-gradient(
    125deg,
    #d21b50,
    #941337 55%,
    #c32658
  );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 12px 28px rgba(148,19,55,.30);
}

.mwf .mwf-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,.20),
    transparent 48%
  );
}

.mwf .mwf-cta:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 18px 38px rgba(148,19,55,.42),
    0 0 25px rgba(255,107,142,.15);
}

/* Glass divider */
.mwf-bottom {
  border-top: 1px solid rgba(255,255,255,.20);

  box-shadow: 0 -1px 0 rgba(255,255,255,.025);
}

/* Softer floating glass motion */
@keyframes mwf-glass-float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mwf .mwf-card {
    animation: mwf-glass-float 7s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * -1.2s);
  }

  .mwf .mwf-card:hover {
    animation-play-state: paused;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .mwf .mwf-card {
    animation: none !important;
  }
}

/* ==========================================
   MEGWORLD HEALTHCARE - HEADER
   Solid White / Navy / Maroon
========================================== */

:root {
  --header-white: #ffffff;
  --header-navy: #0a1f4d;
  --header-maroon: #7b1230;
  --header-maroon-light: #9b1c3f;
  --header-ease: cubic-bezier(.2, .8, .2, 1);
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 2000;
  pointer-events: none;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(
    90deg,
    var(--header-navy),
    var(--header-maroon)
  );
}

/* Fixed header */
.site-header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 1500;

  padding: 0 20px;

  /* IMPORTANT: opaque background */
  background: transparent;
  isolation: isolate;

  transition: top .35s var(--header-ease);
}

/* Header after scrolling */
.site-header.scrolled {
  top: 0;
  padding: 0;
}

/* Navigation container */
.nav-bar {
  position: relative;
  width: min(1240px, 100%);
  height: 72px;
  margin: 0 auto;
  padding: 0 16px 0 26px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  /* Solid background prevents animated page
     elements from showing through the header */
  background: #ffffff;
  opacity: 1;

  border: 1px solid #e5e9f2;
  border-radius: 22px;

  box-shadow: 0 8px 28px rgba(10, 31, 77, .12);

  transition:
    height .35s var(--header-ease),
    border-radius .35s,
    box-shadow .35s;
}

/* Solid white background while scrolling */
.site-header.scrolled .nav-bar {
  width: 100%;
  height: 66px;

  background-color: #ffffff;
  opacity: 1;

  border: 0;
  border-bottom: 1px solid #e6e9f1;
  border-radius: 0;

  box-shadow: 0 8px 25px rgba(10, 31, 77, .13);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-mark {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  flex-shrink: 0;

  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--header-maroon-light),
    var(--header-maroon)
  );

  box-shadow: 0 5px 14px rgba(123, 18, 48, .22);
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  background: #ffffff;
  border-radius: 2px;
}

.logo-mark::before {
  width: 6px;
  height: 24px;
  top: 9px;
  left: 18px;
}

.logo-mark::after {
  width: 24px;
  height: 6px;
  top: 18px;
  left: 9px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  color: var(--header-navy);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.5px;
}

.logo-text small {
  margin-top: 3px;
  color: var(--header-maroon);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3px;
}

/* Navigation menu */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;

  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu li {
  list-style: none;
}

.nav-menu a:not(.btn) {
  position: relative;
  display: block;

  padding: 12px 13px;

  color: var(--header-navy);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;

  border-radius: 8px;

  transition:
    color .25s ease,
    background-color .25s ease;
}

/* Underline animation */
.nav-menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 2px;

  background: var(--header-maroon);
  border-radius: 3px;

  transform: scaleX(0);
  transform-origin: left;

  transition: transform .3s var(--header-ease);
}

.nav-menu a:not(.btn):hover {
  color: var(--header-maroon);
  background: #fbf4f6;
}

.nav-menu a:not(.btn):hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
}

.nav-menu a.active {
  color: var(--header-maroon);
  font-weight: 700;
}

.menu-cta {
  display: none;
}

/* Enquire Now button */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 12px 24px;

  overflow: hidden;
  border: 0;
  border-radius: 999px;

  background: linear-gradient(
    135deg,
    #a41d43,
    #7b1230
  );

  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;

  box-shadow: 0 7px 18px rgba(123, 18, 48, .22);

  transition:
    transform .3s var(--header-ease),
    box-shadow .3s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(255,255,255,.32) 50%,
    transparent 75%
  );

  transform: translateX(-120%);
  transition: transform .65s ease;
}

.btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 11px 25px rgba(123, 18, 48, .32);
}

.btn:hover::after {
  transform: translateX(120%);
}

.nav-cta {
  flex-shrink: 0;
}

/* Mobile menu button */
.nav-toggle {
  display: none;
  position: relative;

  width: 44px;
  height: 44px;
  flex-shrink: 0;

  border: 1px solid #f0dce2;
  border-radius: 12px;
  background: #fbf4f6;

  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;

  background: var(--header-maroon);
  border-radius: 4px;

  transition:
    top .3s ease,
    transform .3s ease,
    opacity .2s ease;
}

.nav-toggle span:nth-child(1) {
  top: 14px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

.nav-toggle.open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Tablet and mobile */
@media (max-width: 960px) {
  .site-header {
    top: 8px;
    padding: 0 12px;
  }

  .site-header.scrolled {
    top: 0;
    padding: 0;
  }

  .nav-bar {
    height: 66px;
    padding: 0 14px 0 18px;
    gap: 12px;
  }

  .site-header.scrolled .nav-bar {
    height: 62px;
  }

  .logo-text strong {
    font-size: 17px;
  }

  .logo-text small {
    font-size: 11px;
  }

  .nav-cta {
    margin-left: auto;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;

    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 14px;

    background: #ffffff;
    opacity: 1;

    border: 1px solid #e5e9f2;
    border-radius: 18px;

    box-shadow: 0 18px 40px rgba(10, 31, 77, .18);

    visibility: hidden;
    pointer-events: none;

    transform: translateY(-8px);
    transition:
      opacity .25s ease,
      transform .25s ease,
      visibility .25s ease;
  }

  .nav-menu.open {
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a:not(.btn) {
    padding: 13px 14px;
    white-space: normal;
  }

  .nav-menu a:not(.btn)::after {
    left: 14px;
    right: auto;
    width: 38px;
    bottom: 5px;
  }

  .nav-menu a:not(.btn):hover,
  .nav-menu a.active {
    background: #fbf4f6;
  }

  .menu-cta {
    display: block;
    padding-top: 6px;
  }

  .menu-cta .btn {
    width: 100%;
  }

  .nav-cta {
    display: none;
  }
}

/* Small phones */
@media (max-width: 420px) {
  .site-header {
    padding: 0 8px;
  }

  .nav-bar {
    padding: 0 10px;
    gap: 8px;
    border-radius: 16px;
  }

  .logo {
    gap: 8px;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
  }

  .logo-mark::before {
    left: 15px;
    top: 7px;
  }

  .logo-mark::after {
    top: 15px;
    left: 7px;
  }

  .logo-text strong {
    font-size: 15px;
  }

  .logo-text small {
    font-size: 10px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .nav-bar,
  .nav-menu,
  .nav-menu a,
  .nav-menu a::after,
  .btn,
  .btn::after {
    transition: none !important;
  }
}
/* ==========================================
   PROFESSIONAL RESOURCES DROPDOWN
========================================== */

.nav-dropdown {
  position: relative;
}

/* Resources link */
.nav-menu .dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

/* Simple arrow */
.dropdown-arrow {
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
  transform: rotate(225deg);
  margin-top: 4px;
}

/* Dropdown panel */
.nav-menu .dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 270px;

  margin: 0;
  padding: 8px;
  list-style: none;

  background: #ffffff;
  border: 1px solid #e6e9ef;
  border-top: 3px solid #7b1230;
  border-radius: 10px;

  box-shadow: 0 12px 30px rgba(10, 31, 77, .12);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translate(-50%, 7px);

  transition:
    opacity .2s ease,
    transform .2s ease,
    visibility .2s ease;

  z-index: 1600;
}

/* Keep panel open while moving mouse into it */
.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown:focus-within > .dropdown-menu,
.nav-dropdown.open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* Remove the main navbar underline inside dropdown */
.nav-menu .dropdown-menu a::after {
  display: none !important;
}

.nav-menu .dropdown-menu li {
  display: block;
  width: 100%;
}

/* Individual links */
.nav-menu .dropdown-menu li a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;

  width: 100%;
  padding: 13px 14px;

  border-radius: 6px;
  background: #ffffff;

  white-space: normal;
  text-decoration: none;

  transition:
    background .2s ease,
    padding-left .2s ease;
}

/* Heading */
.nav-menu .dropdown-title {
  color: #0a1f4d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

/* Supporting text */
.nav-menu .dropdown-desc {
  color: #667085;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

/* Subtle professional hover */
.nav-menu .dropdown-menu li a:hover,
.nav-menu .dropdown-menu li a:focus-visible {
  background: #f8f3f5;
  padding-left: 18px;
}

.nav-menu .dropdown-menu li a:hover .dropdown-title,
.nav-menu .dropdown-menu li a:focus-visible .dropdown-title {
  color: #7b1230;
}

/* Mobile dropdown */
@media (max-width: 960px) {
  .nav-menu .nav-dropdown {
    width: 100%;
  }

  .nav-menu .dropdown-trigger {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .nav-menu .dropdown-menu {
    position: static;
    display: none;

    width: 100%;
    margin: 4px 0 8px;
    padding: 5px;

    border: 1px solid #e6e9ef;
    border-left: 3px solid #7b1230;
    border-top: 1px solid #e6e9ef;
    border-radius: 8px;

    background: #ffffff;
    box-shadow: none;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .nav-menu .nav-dropdown.open > .dropdown-menu {
    display: block;
  }

  .nav-menu .dropdown-menu li a {
    padding: 12px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .dropdown-arrow,
  .nav-menu .dropdown-menu,
  .nav-menu .dropdown-menu li a {
    transition: none !important;
  }
}

/* Resources dropdown arrow — visible by default */
.nav-menu .dropdown-trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
}

.nav-menu .dropdown-arrow {
  display: inline-block !important;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: -4px;
  border: 0 !important;
  border-right: 1.8px solid currentColor !important;
  border-bottom: 1.8px solid currentColor !important;
  transform: rotate(45deg);
  transition: transform 0.2s ease, margin 0.2s ease;
}

/* Arrow turns up when dropdown is open */
.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
  transform: rotate(225deg);
  margin-top: 4px;
}

/* Prevent underline animation from affecting the arrow */
.nav-menu .dropdown-trigger::after {
  right: 13px;
}

/* Mobile dropdown */
@media (max-width: 960px) {
  .nav-menu .dropdown-trigger {
    display: flex !important;
    justify-content: space-between;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu .dropdown-arrow {
    transition: none;
  }
}
/* Navbar logo image */
.site-header .logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header .site-logo {
  display: block;
  width: 175px;
  max-width: 100%;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

/* Footer logo image */
.mwf-logo {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-bottom: 20px;
}

.mwf-logo .footer-logo {
  display: block;
  width: 210px;
  max-width: 100%;
  height: 65px;
  object-fit: contain;
  object-position: left center;
}

/* Mobile logo sizing */
@media (max-width: 960px) {
  .site-header .site-logo {
    width: 150px;
    height: 42px;
  }
}

@media (max-width: 380px) {
  .site-header .site-logo {
    width: 125px;
    height: 38px;
  }

  .mwf-logo .footer-logo {
    width: 185px;
    height: 58px;
  }
}

:root {
  --navy: #102b56;
  --blue: #3479d4;
  --maroon: #92083c;
  --pink: #ec1760;
  --muted: #7084aa;
  --border: #d9e6fa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 35px;
  font-family: Inter, Arial, sans-serif;
  color: var(--navy);
  background: linear-gradient(125deg, #f9fbff, #fff7fb 50%, #eaf4ff);
  overflow-x: hidden;
}

input, select, textarea, button {
  font: inherit;
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(3px);
  pointer-events: none;
  animation: ambientFloat 13s ease-in-out infinite alternate;
}

.ambient-one {
  background: #c9e2ff80;
  top: -180px;
  left: 25%;
}

.ambient-two {
  background: #ffcce380;
  bottom: -220px;
  left: -100px;
  animation-delay: -5s;
}

.ambient-three {
  background: #d4dfff80;
  right: -160px;
  top: 25%;
  animation-delay: -8s;
}

.dot-pattern {
  position: fixed;
  z-index: -1;
  width: 120px;
  height: 160px;
  background-image: radial-gradient(#ee3980 2px, transparent 2px);
  background-size: 22px 22px;
  animation: dotsFloat 10s ease-in-out infinite alternate;
}

.dots-left {
  left: 10px;
  top: 20px;
}

.dots-right {
  right: 10px;
  bottom: 15px;
  background-image: radial-gradient(#66a6f4 2px, transparent 2px);
  animation-delay: -4s;
}

.floating-circle {
  position: fixed;
  z-index: -1;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #a8d3ff8c;
  animation: circleFloat 8s ease-in-out infinite;
}

.circle-one {
  right: 12%;
  top: 8%;
}

.circle-two {
  left: 4%;
  bottom: 10%;
  width: 70px;
  height: 70px;
  background: #ffb8d58c;
  animation-delay: -3s;
}

.enquiry-layout {
  width: min(1440px, 100%);
  min-height: 800px;
  margin: auto;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 0;
  border: 1px solid #ffffff;
  border-radius: 34px;
  overflow: hidden;
  background: #ffffffb8;
  box-shadow: 0 30px 90px #254d8b20;
  backdrop-filter: blur(20px);
  animation: layoutEnter 1s ease both;
}

/* BRAND SIDEBAR */

.brand-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 40px 30px 35px;
  overflow: hidden;
  color: white;
  background: linear-gradient(155deg, #a50043, #65072f 75%, #360b3c);
}

.brand-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  right: -180px;
  top: -100px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  box-shadow: 0 0 0 35px #ffffff08, 0 0 0 75px #ffffff08;
  animation: circleFloat 10s ease-in-out infinite;
}

.brand-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 160px;
  bottom: -70px;
  left: -30px;
  right: -30px;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(100deg, #f01664, #d81466aa, #ffffff20);
  transform: rotate(-9deg);
  animation: waveMove 8s ease-in-out infinite alternate;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
}

.brand-mark,
.mini-mark {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 13px;
  background: linear-gradient(140deg, #f3216d, #d30a50);
  color: white;
  font-size: 48px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 10px 25px #35051e35;
}

.brand-name strong,
.brand-name small {
  display: block;
}

.brand-name strong {
  font-size: 24px;
  letter-spacing: -1px;
}

.brand-name small {
  margin-top: 3px;
  font-size: 15px;
}

.brand-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 35px 0 25px;
}

.brand-divider span {
  width: 45px;
  height: 4px;
  border-radius: 10px;
  background: #ff70a7;
}

.brand-divider p {
  margin: 0;
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 3px;
}

.brand-panel h1 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -1.5px;
  animation: textReveal .9s ease both;
}

.brand-panel h1 span {
  color: #ff4e8b;
}

.brand-description {
  max-width: 270px;
  margin: 24px 0 10px;
  font-size: 15px;
  line-height: 1.8;
  color: #fff0f6;
}

.illustration {
  position: relative;
  display: grid;
  place-items: center;
  height: 270px;
  margin: 10px -10px 0;
}

.illustration img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 20px #19062450);
  animation: illustrationFloat 5s ease-in-out infinite;
}

.illustration-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: #fa438c26;
  filter: blur(20px);
  animation: glowPulse 5s ease-in-out infinite;
}

.image-placeholder {
  display: none;
  position: absolute;
  inset: 15px;
  place-content: center;
  text-align: center;
  gap: 8px;
  padding: 15px;
  border: 1px dashed #ffffff70;
  border-radius: 20px;
  background: #ffffff0b;
  color: #fff;
  font-size: 12px;
}

.image-placeholder span {
  font-size: 45px;
  line-height: 1;
  color: #ff70a7;
}

.image-placeholder small {
  font-size: 10px;
  opacity: .75;
}

.floating-medical {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #fff;
  color: #2678db;
  font-size: 35px;
  font-weight: 800;
  box-shadow: 0 12px 30px #17052035;
  animation: medicalFloat 4s ease-in-out infinite;
}

.medical-one {
  right: 5px;
  top: 30px;
}

.medical-two {
  left: 8px;
  bottom: 15px;
  color: var(--pink);
  animation-delay: -2s;
}

.trust-text {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-size: 14px;
  line-height: 1.7;
}

.sidebar-wave {
  position: absolute;
  width: 220px;
  height: 70px;
  right: -90px;
  bottom: 0;
  background: #ff4c9b70;
  filter: blur(15px);
}

/* FORM PANEL */

.form-panel {
  position: relative;
  padding: 42px 50px 35px;
  min-width: 0;
  background: linear-gradient(135deg, #ffffffed, #f6f9ffdc);
}

.form-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-header > div:first-child {
  flex: 1;
}

.form-header h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -1.2px;
}

.form-header p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.form-header p b {
  color: var(--pink);
}

.step-badge {
  align-self: flex-start;
  padding: 10px 13px;
  border-radius: 12px;
  color: var(--pink);
  background: #ffe8f1;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  margin-left: auto;
}

.mini-mark {
  width: 52px;
  height: 52px;
  font-size: 43px;
}

.mini-brand strong,
.mini-brand small {
  display: block;
}

.mini-brand strong {
  font-size: 22px;
  letter-spacing: -1px;
}

.mini-brand small {
  margin-top: 3px;
  color: #62769b;
  font-size: 14px;
}

.divider {
  height: 1px;
  margin: 25px 0;
  background: var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 25px;
}

.form-field {
  min-width: 0;
  animation: fieldEnter .65s ease both;
}

.form-field:nth-child(2) { animation-delay: .06s; }
.form-field:nth-child(3) { animation-delay: .12s; }
.form-field:nth-child(4) { animation-delay: .18s; }
.form-field:nth-child(5) { animation-delay: .24s; }
.form-field:nth-child(6) { animation-delay: .3s; }
.form-field:nth-child(7) { animation-delay: .36s; }

.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 700;
}

.form-field label b,
.consent b {
  color: var(--pink);
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 55px;
  padding: 0 17px;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  background: #edf4ff9c;
  transition: border-color .25s, box-shadow .25s, transform .25s, background .25s;
}

.input-wrap:focus-within {
  background: #fff;
  border-color: #77a6ec;
  box-shadow: 0 0 0 4px #5c9cf51c;
  transform: translateY(-2px);
}

.field-icon {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  color: var(--navy);
}

.field-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  min-width: 0;
  padding: 16px 0;
  border: 0;
  outline: 0;
  color: var(--navy);
  background: transparent;
  font-size: 14px;
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  color: #8295b8;
}

.input-wrap select {
  cursor: pointer;
}

.textarea-wrap {
  position: relative;
  align-items: flex-start;
  min-height: 125px;
  padding-top: 12px;
  padding-bottom: 25px;
}

.textarea-wrap textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.6;
}

.char-count {
  position: absolute;
  right: 15px;
  bottom: 9px;
  color: #687fa8;
  font-size: 11px;
}

.error {
  display: block;
  min-height: 0;
  margin-top: 0;
  color: #c3124d;
  font-size: 11px;
}

.form-field.invalid .input-wrap {
  border-color: #d52254;
  box-shadow: 0 0 0 3px #d5225414;
}

.form-field.invalid .error {
  margin-top: 5px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 22px 0 0;
  color: #425c88;
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
}

.consent input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.custom-check {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1.5px solid #91a8cd;
  border-radius: 6px;
  background: white;
}

.consent input:checked + .custom-check {
  background: var(--pink);
  border-color: var(--pink);
}

.consent input:checked + .custom-check::after {
  content: "✓";
  color: white;
  font-size: 15px;
  font-weight: 800;
}

.consent input:focus-visible + .custom-check {
  outline: 3px solid #3479d455;
}

.consent-error {
  display: block;
  margin-top: 5px;
  color: #c3124d;
  font-size: 11px;
}

.submit-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  min-height: 66px;
  margin-top: 20px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  color: white;
  background: linear-gradient(100deg, #a40843, #e7165d, #f32b72);
  background-size: 200% 100%;
  box-shadow: 0 14px 28px #c61a5738;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background-position .4s;
}

.submit-button::before {
  content: "";
  position: absolute;
  top: -80%;
  left: -35%;
  width: 25%;
  height: 260%;
  background: linear-gradient(90deg, transparent, #ffffff65, transparent);
  transform: rotate(25deg);
  animation: buttonShine 4s infinite;
}

.submit-button:hover {
  transform: translateY(-3px);
  background-position: 100% 0;
  box-shadow: 0 19px 35px #c61a5745;
}

.submit-button:active {
  transform: scale(.99);
}

.submit-arrow {
  font-size: 26px;
  transition: transform .25s;
}

.submit-button:hover .submit-arrow {
  transform: translateX(7px);
}

.submit-button:disabled {
  opacity: .8;
  cursor: wait;
}

.privacy-note {
  margin: 19px 0 0;
  text-align: center;
  color: #7485a6;
  font-size: 11px;
  line-height: 1.7;
}

.success-message {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid #a5e4cc;
  border-radius: 15px;
  color: #155d48;
  background: #e9fff6;
  animation: fieldEnter .4s ease both;
}

.success-message[hidden] {
  display: none;
}

.success-message p {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.6;
}

/* ANIMATIONS */

@keyframes ambientFloat {
  to { transform: translate(40px, -30px) scale(1.12); }
}

@keyframes dotsFloat {
  to { transform: translate(10px, -18px); }
}

@keyframes circleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes layoutEnter {
  from { opacity: 0; transform: translateY(22px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes textReveal {
  from { opacity: 0; transform: translateX(-15px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes illustrationFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes glowPulse {
  50% { transform: scale(1.12); opacity: .7; }
}

@keyframes medicalFloat {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-13px) rotate(8deg); }
}

@keyframes waveMove {
  to { transform: translate(15px, -8px) rotate(-5deg); }
}

@keyframes fieldEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes buttonShine {
  0%, 55% { left: -35%; }
  85%, 100% { left: 125%; }
}

@media (max-width: 1100px) {
  body { padding: 20px; }

  .enquiry-layout {
    grid-template-columns: 285px minmax(0, 1fr);
  }

  .brand-panel { padding: 30px 23px; }
  .brand-mark { width: 47px; height: 47px; font-size: 41px; }
  .brand-name strong { font-size: 21px; }
  .brand-name small { font-size: 13px; }
  .brand-panel h1 { font-size: 33px; }
  .form-panel { padding: 35px 28px; }
  .mini-brand strong { font-size: 18px; }
  .mini-brand small { font-size: 12px; }
  .mini-mark { width: 43px; height: 43px; font-size: 36px; }
  .form-grid { gap: 17px; }
}

@media (max-width: 800px) {
  body { padding: 14px; }

  .enquiry-layout {
    grid-template-columns: 1fr;
    border-radius: 25px;
  }

  .brand-panel { padding: 27px; }
  .brand-panel h1 { max-width: 500px; font-size: 38px; }
  .brand-description { max-width: 480px; }
  .illustration { height: 210px; max-width: 380px; width: 100%; }
  .trust-text { margin-top: 10px; }
  .form-panel { padding: 30px 27px; }
}

@media (max-width: 520px) {
  body { padding: 9px; }

  .brand-panel { padding: 23px 20px; }
  .brand-panel h1 { font-size: 34px; }
  .brand-divider { margin: 25px 0 20px; }
  .illustration { height: 180px; }
  .form-panel { padding: 24px 17px; }
  .form-header { flex-wrap: wrap; gap: 12px; }
  .form-header h2 { font-size: 25px; }
  .form-header p { font-size: 11px; }
  .mini-brand { order: 3; width: 100%; margin: 8px 0 0; }
  .mini-mark { width: 38px; height: 38px; font-size: 32px; }
  .mini-brand strong { font-size: 17px; }
  .step-badge { margin-left: auto; }
  .divider { margin: 20px 0; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .full-width { grid-column: auto; }
  .input-wrap { min-height: 49px; border-radius: 13px; }
  .input-wrap input, .input-wrap select { padding: 13px 0; font-size: 13px; }
  .textarea-wrap { min-height: 115px; }
  .textarea-wrap textarea { min-height: 82px; }
  .consent { font-size: 11px; }
  .submit-button { min-height: 56px; font-size: 14px; }
  .privacy-note { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.thankyou-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(9, 25, 55, 0.55);
  backdrop-filter: blur(9px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.thankyou-overlay.show {
  opacity: 1;
  visibility: visible;
}

.thankyou-card {
  position: relative;
  width: min(430px, 100%);
  padding: 38px 28px 30px;
  border: 1px solid #ffffff;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff, #f4f8ff);
  box-shadow: 0 25px 80px rgba(8, 30, 70, 0.25);
  text-align: center;
  transform: translateY(25px) scale(0.94);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}

.thankyou-overlay.show .thankyou-card {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 13px;
  right: 16px;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 50%;
  background: #f0f3fa;
  color: #102b56;
  font-size: 25px;
  cursor: pointer;
}

.success-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  animation: successPop 0.55s 0.1s both;
}

.success-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #e8175a;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-icon circle {
  stroke: #e8175a;
  fill: #fff0f5;
}

.thankyou-card h2 {
  margin: 0 0 12px;
  color: #102b56;
  font-size: 30px;
  font-weight: 800;
}

.thankyou-card p {
  margin: 0 0 9px;
  color: #263f68;
  font-size: 15px;
  line-height: 1.6;
}

.thankyou-card > span {
  display: block;
  color: #7184a7;
  font-size: 12px;
  line-height: 1.7;
}

.popup-button {
  width: 100%;
  min-height: 49px;
  margin-top: 25px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(100deg, #92083c, #ec1760);
  color: white;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px #c61a5730;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.popup-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px #c61a5745;
}

@keyframes successPop {
  from { opacity: 0; transform: scale(.5) rotate(-15deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .thankyou-overlay,
  .thankyou-card,
  .popup-button {
    transition: none;
  }

  .success-icon {
    animation: none;
  }
}
