/* =========================================================
   PRESTIGE V20 MOBILE LAYOUT FINAL FIX
   Purpose: remove horizontal overflow, remove duplicate/off-canvas nav
   from page width, and make mobile menu clickable and professional.
   ========================================================= */
*{box-sizing:border-box!important;}
html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important;}
body{position:relative!important;}
img,video,iframe,canvas,svg{max-width:100%!important;height:auto;}
.container,.nav,.section,.hero,.hero-slide,.prestige-hero-shell,main,header,footer{max-width:100%!important;}

/* No stale pseudo overlay should ever sit on top of content/nav links. */
body::before,body::after,html::before,html::after{pointer-events:none!important;}
body.menu-open::after,html.menu-open::after{display:none!important;content:none!important;}

@media(max-width:1050px){
  html.menu-open,body.menu-open{overflow:hidden!important;touch-action:none;}
  .header.prestige-pro-header{position:sticky!important;top:0!important;z-index:99990!important;}
  .header .nav{position:relative!important;overflow:visible!important;}
  .mobile-toggle{
    display:grid!important;place-items:center!important;position:relative!important;z-index:100002!important;
    width:46px!important;height:46px!important;min-width:46px!important;border-radius:14px!important;
    background:#fff!important;color:#06142e!important;border:1px solid #dbe3ee!important;
    box-shadow:0 10px 24px rgba(7,26,61,.12)!important;cursor:pointer!important;
  }

  /* Keep the mobile nav completely out of document flow when closed. */
  #menu.prestige-menu:not(.active){
    display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;
    transform:translate3d(100%,0,0)!important;
  }

  /* Active drawer: fixed layer, not part of page width, no transparent blocker. */
  #menu.prestige-menu.active{
    display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
    position:fixed!important;top:0!important;right:0!important;left:auto!important;bottom:0!important;
    width:min(86vw,360px)!important;max-width:360px!important;height:100dvh!important;max-height:100dvh!important;
    margin:0!important;padding:96px 16px 24px!important;overflow-y:auto!important;overflow-x:hidden!important;
    flex-direction:column!important;align-items:stretch!important;gap:10px!important;
    border-radius:24px 0 0 24px!important;background:#fff!important;color:#06142e!important;
    box-shadow:-20px 0 55px rgba(7,26,61,.22)!important;z-index:100001!important;
    transform:translate3d(0,0,0)!important;contain:layout paint style!important;
  }

  #menu.prestige-menu .mobile-menu-head{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    position:absolute!important;top:16px!important;left:16px!important;right:16px!important;
    padding:0 0 14px!important;border-bottom:1px solid #e4eaf2!important;background:#fff!important;z-index:2!important;
  }
  #menu.prestige-menu .mobile-menu-head .brand{min-width:0!important;display:flex!important;align-items:center!important;gap:10px!important;}
  #menu.prestige-menu .mobile-menu-head .brand img{width:42px!important;height:42px!important;flex:0 0 42px!important;}
  #menu.prestige-menu .mobile-menu-head .brand span{min-width:0!important;max-width:180px!important;}
  #menu.prestige-menu .mobile-menu-head .brand strong{font-size:13px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  #menu.prestige-menu .mobile-menu-head .brand small{font-size:9px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .mobile-close{
    display:grid!important;place-items:center!important;width:42px!important;height:42px!important;min-width:42px!important;
    border-radius:13px!important;border:1px solid #dbe3ee!important;background:#fff!important;color:#06142e!important;cursor:pointer!important;
  }

  #menu.prestige-menu>a:not(.btn),
  #menu.prestige-menu .nav-dropbtn{
    display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;
    min-height:48px!important;padding:12px 14px!important;border-radius:14px!important;
    background:#f8fafc!important;border:1px solid #e7edf5!important;color:#06142e!important;
    font-size:14px!important;font-weight:900!important;text-align:left!important;line-height:1.2!important;text-decoration:none!important;
  }
  #menu.prestige-menu>a:not(.btn):hover,
  #menu.prestige-menu .nav-dropbtn:hover{background:#eef4fb!important;color:#0b2a6f!important;}
  #menu.prestige-menu .btn{width:100%!important;min-height:48px!important;justify-content:center!important;margin:4px 0 0!important;}
  #menu.prestige-menu .nav-dropdown{width:100%!important;position:relative!important;}
  #menu.prestige-menu .nav-dropdown-menu{
    position:static!important;display:none!important;width:100%!important;min-width:0!important;max-width:100%!important;
    opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important;
    margin:8px 0 0!important;padding:8px!important;border-radius:16px!important;border:1px solid #e7edf5!important;
    background:#fff!important;box-shadow:none!important;overflow:hidden!important;
  }
  #menu.prestige-menu .nav-dropdown.open .nav-dropdown-menu{display:grid!important;gap:4px!important;}
  #menu.prestige-menu .nav-dropdown-menu a{
    display:flex!important;width:100%!important;min-height:42px!important;padding:10px 12px!important;border-radius:12px!important;
    background:#fff!important;color:#25324a!important;border:0!important;text-align:left!important;font-size:13px!important;font-weight:850!important;
  }
  #menu.prestige-menu .nav-dropdown-menu a:hover{background:#f5f8fc!important;color:#0b2a6f!important;}

  /* Prevent old duplicate/absolute menu rules from creating a second mobile menu in the horizontal overflow area. */
  .menu:not(#menu){display:none!important;}
  .nav-cta{display:none!important;}
  .topbar,.topbar .container{max-width:100%!important;overflow:hidden!important;}
}

@media(max-width:680px){
  #menu.prestige-menu.active{width:min(88vw,340px)!important;max-width:340px!important;padding-left:14px!important;padding-right:14px!important;}
  .brand span{max-width:170px!important;min-width:0!important;}
  .brand strong,.brand small{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .grid-2,.grid-3,.grid-4,.grid-5,.form-grid,.footer-grid{width:100%!important;max-width:100%!important;}
  .card,.form-box,.corporate-box,.feature-band,.hero-card{max-width:100%!important;}
  .hero,.hero-slide,.px-hero{overflow:hidden!important;}
}


/* V21 homepage services + compact floating CTA polish */
.home-services-section{
  background:linear-gradient(180deg,#ffffff 0%,#f6f8fc 100%);
}
.home-services-head{
  max-width:940px;
  margin-bottom:34px;
}
.home-services-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.service-pro-card{
  background:#fff;
  border:1px solid #dfe7f2;
  border-radius:24px;
  padding:24px;
  min-height:250px;
  box-shadow:0 18px 45px rgba(7,26,58,.08);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.service-pro-card:hover{
  transform:translateY(-5px);
  border-color:rgba(217,164,65,.48);
  box-shadow:0 24px 60px rgba(7,26,58,.13);
}
.service-pro-card.highlight{
  background:linear-gradient(135deg,#06142e,#0b2a6f);
  color:#fff;
  border-color:rgba(217,164,65,.55);
}
.service-pro-card.highlight h3,.service-pro-card.highlight p{color:#fff!important;}
.service-pro-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  display:grid;
  place-items:center;
  margin-bottom:18px;
  color:#fff;
  background:linear-gradient(135deg,#06142e,#d9a441);
  box-shadow:0 14px 30px rgba(7,26,58,.18);
}
.service-pro-card.highlight .service-pro-icon{
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.2);
}
.service-pro-card h3{
  margin:0 0 10px;
  font-size:19px;
  line-height:1.22;
  letter-spacing:-.02em;
}
.service-pro-card p{
  margin:0;
  font-size:14.5px;
  line-height:1.72;
  color:#5b6b82;
}
.home-services-cta{
  margin-top:28px;
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}
.home-services-cta .btn{
  width:auto!important;
  min-width:190px;
}
.whatsapp-dock{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  left:auto!important;
  right:16px!important;
  bottom:16px!important;
  width:auto!important;
  max-width:calc(100vw - 24px)!important;
  grid-template-columns:none!important;
}
.whatsapp-dock a{
  width:auto!important;
  min-width:0!important;
  height:46px!important;
  padding:0 14px!important;
  border-radius:999px!important;
  font-size:14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
}
.whatsapp-dock a i{font-size:17px!important;}
.whatsapp-dock a span{
  display:inline!important;
  margin:0!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
}
@media(max-width:1050px){
  .home-services-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:680px){
  .home-services-section{padding-top:64px!important;padding-bottom:64px!important;}
  .home-services-grid{grid-template-columns:1fr!important;gap:14px;}
  .service-pro-card{padding:20px;min-height:auto;border-radius:20px;}
  .home-services-cta{display:grid;grid-template-columns:1fr;gap:10px;}
  .home-services-cta .btn{width:100%!important;min-width:0;}
  .whatsapp-dock{
    right:10px!important;
    bottom:10px!important;
    left:auto!important;
    gap:6px!important;
  }
  .whatsapp-dock a{
    height:40px!important;
    padding:0 10px!important;
    font-size:12px!important;
    box-shadow:0 10px 24px rgba(7,26,58,.18)!important;
  }
  .whatsapp-dock a i{font-size:15px!important;}
  .whatsapp-dock a span{font-size:11px!important;}
  .footer{padding-bottom:72px!important;}
}
@media(max-width:360px){
  .whatsapp-dock a span{display:none!important;}
  .whatsapp-dock a{width:40px!important;padding:0!important;}
}

/* =========================================================
   V22 FINAL PROFESSIONAL SPACING + MOBILE NAV POLISH
   Purpose: one consistent grid system across all pages, no mobile
   horizontal overflow, no duplicate drawer, no invisible overlay.
   ========================================================= */
:root{
  --pct-page-gutter: clamp(18px, 4.5vw, 34px);
  --pct-section-y: clamp(64px, 8vw, 104px);
  --pct-card-radius: 22px;
}
html,body{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
}
body{
  min-width:0!important;
  background:#f8fafc!important;
}
main,section,header,footer,.topbar,
.hero-slider,.prestige-hero-shell,.owl-stage-outer,.owl-stage,.owl-item{
  max-width:100%!important;
  overflow-x:clip!important;
}
.container{
  width:100%!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:var(--pct-page-gutter)!important;
  padding-right:var(--pct-page-gutter)!important;
}
.section{
  padding-top:var(--pct-section-y)!important;
  padding-bottom:var(--pct-section-y)!important;
}
.section > .container,
footer > .container,
.topbar > .container,
.header .container{
  box-sizing:border-box!important;
}
.hero-grid,.px-hero-grid{
  width:100%!important;
  padding-left:var(--pct-page-gutter)!important;
  padding-right:var(--pct-page-gutter)!important;
}
.px-hero-grid.container,
.hero-grid.container{
  padding-left:var(--pct-page-gutter)!important;
  padding-right:var(--pct-page-gutter)!important;
}
.grid-2,.grid-3,.grid-4,.grid-5,.form-grid,.footer-grid,
.home-services-grid,.px-journey-grid,.ai-section-grid{
  width:100%!important;
  min-width:0!important;
}
.card,.service-pro-card,.corporate-box,.form-box,.hero-card,.ai-showcase-card,
.px-step,.feature-band,.review-note{
  max-width:100%!important;
  min-width:0!important;
  overflow-wrap:break-word!important;
}
img,svg,video,canvas,iframe{max-width:100%!important;}

/* Professional readable contrast on dark corporate/stat sections */
.corporate-box,
.stats.brand-block,
.brand-block.stats{
  background:linear-gradient(135deg,#06142e 0%,#0b2a6f 100%)!important;
  color:#fff!important;
  overflow:hidden!important;
}
.corporate-box h1,.corporate-box h2,.corporate-box h3,.corporate-box p,.corporate-box strong,
.stats h1,.stats h2,.stats h3,.stats p,.stats strong{
  color:#fff!important;
  -webkit-text-fill-color:currentColor!important;
}
.corporate-box .tag,.stats .tag{
  background:#ffffff!important;
  color:#06142e!important;
  -webkit-text-fill-color:#06142e!important;
  border:1px solid rgba(255,255,255,.7)!important;
}
.stats .card{
  background:#fff!important;
  color:#06142e!important;
  border:1px solid rgba(255,255,255,.88)!important;
  box-shadow:0 18px 44px rgba(0,0,0,.18)!important;
}
.stats .card .counter,.stats .card strong{
  color:#06142e!important;
  -webkit-text-fill-color:#06142e!important;
  font-size:clamp(34px,5vw,54px)!important;
  line-height:1!important;
}
.stats .card span{
  color:#243650!important;
  -webkit-text-fill-color:#243650!important;
  font-weight:900!important;
}

/* Desktop navigation: compact, balanced, no overflow */
@media(min-width:1051px){
  .prestige-pro-header .nav{gap:14px!important;}
  .prestige-pro-header .menu{gap:10px!important;white-space:nowrap!important;}
  .prestige-pro-header .menu > a:not(.btn),
  .prestige-pro-header .nav-dropbtn{
    padding:10px 12px!important;
    border-radius:999px!important;
    font-size:14px!important;
  }
  .prestige-pro-header .menu .btn{padding:11px 16px!important;font-size:13px!important;}
}

/* Mobile drawer: fixed over page without creating page width */
@media(max-width:1050px){
  :root{--pct-page-gutter:18px;--pct-section-y:68px;}
  .header,.prestige-pro-header{position:sticky!important;top:0!important;z-index:100000!important;}
  .nav{width:100%!important;max-width:1180px!important;overflow:visible!important;}
  .brand{min-width:0!important;max-width:calc(100% - 64px)!important;}
  .brand span{min-width:0!important;}
  .brand strong,.brand small{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .mobile-toggle{
    display:grid!important;place-items:center!important;
    width:46px!important;height:46px!important;min-width:46px!important;
    border:1px solid #dce5f2!important;border-radius:15px!important;background:#fff!important;color:#06142e!important;
    box-shadow:0 10px 26px rgba(7,26,58,.12)!important;cursor:pointer!important;pointer-events:auto!important;
  }
  .nav-cta{display:none!important;}
  .prestige-pro-header nav#menu.menu.prestige-menu{
    display:flex!important;
    position:fixed!important;
    top:0!important;right:0!important;left:auto!important;bottom:0!important;
    width:min(88vw,360px)!important;max-width:360px!important;height:100dvh!important;
    padding:92px 16px 24px!important;
    flex-direction:column!important;align-items:stretch!important;gap:10px!important;
    background:#fff!important;color:#06142e!important;border-left:1px solid #dde6f2!important;
    box-shadow:-18px 0 50px rgba(7,26,58,.22)!important;
    transform:translate3d(105%,0,0)!important;transition:transform .25s ease!important;
    opacity:1!important;visibility:visible!important;pointer-events:none!important;
    overflow-y:auto!important;overflow-x:hidden!important;z-index:100002!important;
    filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  }
  .prestige-pro-header nav#menu.menu.prestige-menu.active{
    transform:translate3d(0,0,0)!important;pointer-events:auto!important;
  }
  body.menu-open::before,body.menu-open::after,html.menu-open::before,html.menu-open::after{
    content:none!important;display:none!important;background:transparent!important;backdrop-filter:none!important;pointer-events:none!important;
  }
  #menu .mobile-menu-head{
    display:flex!important;position:absolute!important;top:16px!important;left:16px!important;right:16px!important;
    align-items:center!important;justify-content:space-between!important;padding-bottom:14px!important;
    border-bottom:1px solid #e6edf6!important;background:#fff!important;z-index:2!important;
  }
  #menu .mobile-menu-head .brand{max-width:230px!important;}
  #menu a:not(.btn),#menu .nav-dropbtn{
    width:100%!important;min-height:48px!important;padding:13px 14px!important;border-radius:14px!important;
    background:#f8fafc!important;border:1px solid #e5ecf5!important;color:#06142e!important;
    font-size:14px!important;font-weight:900!important;text-align:left!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  }
  #menu .btn{width:100%!important;min-height:48px!important;margin-top:4px!important;}
  #menu .nav-dropdown{width:100%!important;position:relative!important;}
  #menu .nav-dropdown-menu{
    position:static!important;display:none!important;width:100%!important;min-width:0!important;max-width:100%!important;
    padding:8px!important;margin:8px 0 0!important;border-radius:14px!important;background:#fff!important;border:1px solid #e5ecf5!important;
    box-shadow:none!important;opacity:1!important;visibility:visible!important;transform:none!important;
  }
  #menu .nav-dropdown.open .nav-dropdown-menu{display:grid!important;gap:5px!important;}
  #menu .nav-dropdown-menu a{min-height:42px!important;background:#fff!important;border:0!important;font-size:13px!important;color:#25324a!important;}
}

@media(max-width:767px){
  :root{--pct-page-gutter:16px;--pct-section-y:62px;}
  .section{padding-left:0!important;padding-right:0!important;}
  .hero-grid,.px-hero-grid{padding-top:54px!important;padding-bottom:64px!important;}
  .hero h1,.hero-slide h1,.px-hero h1{font-size:clamp(32px,10.5vw,46px)!important;line-height:1.04!important;}
  .head{margin-bottom:34px!important;}
  .head p,.section p{font-size:15px!important;line-height:1.75!important;}
  .card,.service-pro-card{border-radius:20px!important;padding:20px!important;}
  .corporate-box{padding:24px!important;border-radius:24px!important;}
  .graduates-carousel .owl-stage{display:flex!important;}
  .graduates-carousel .owl-item{display:flex!important;min-width:100%!important;}
  .graduates-carousel .owl-item > .card{width:100%!important;}
}

@media(max-width:420px){
  :root{--pct-page-gutter:14px;}
  .prestige-pro-header nav#menu.menu.prestige-menu{width:min(90vw,330px)!important;padding-left:12px!important;padding-right:12px!important;}
  #menu .mobile-menu-head{left:12px!important;right:12px!important;}
  .brand img{width:42px!important;height:42px!important;}
  .brand strong{font-size:13px!important;}
  .brand small{font-size:9px!important;}
}
