/* ==========================================================================
   WebMks IT Institute — reference design match (V17)
   Loaded LAST in layouts/app.blade.php so it wins over older patches.
   Goal: bolder buttons, larger readable text, real icons, solid blues.
   ========================================================================== */
:root{--wm-blue:#0b57d0;--wm-blue-2:#0a46ad;--wm-deep:#062a5c;--wm-ink:#0d1b3a;--wm-muted:#5b6b82}
body{font-family:Poppins,Inter,Arial,sans-serif!important;color:var(--wm-ink)}

/* ---------- top bar ---------- */
body .wm-topbar{background:#0a46ad!important;font-size:12px!important}
body .wm-topbar-in{min-height:34px!important;max-width:1240px!important}
body .wm-topbar a{font-weight:600!important}
body .wm-follow b{font-weight:600}
body .wm-social{width:22px!important;height:22px!important;border-radius:50%!important;background:#fff!important;display:inline-grid!important;place-items:center!important}
body .wm-social svg{width:12px!important;height:12px!important;fill:#0a46ad!important}
body .wm-social.yt svg{fill:#e11d1d!important}

/* ---------- header / nav ---------- */
body .mh{background:#fff!important;box-shadow:0 4px 18px #082e5c1a!important}
body .mh .in{max-width:1240px!important;min-height:72px!important}
body .mh .dnav{gap:4px}
body .mh .dnav a{font-size:14px!important;font-weight:600!important;color:#0d1b3a!important;padding:8px 13px!important;position:relative}
body .mh .dnav a.on,body .mh .dnav a.active{background:transparent!important;box-shadow:none!important;color:#0b57d0!important;font-weight:700!important}
body .mh .dnav a.on *{color:#0b57d0!important}
body .mh .dnav a:hover{color:#0b57d0!important}
body .mh .dnav a.on:after{content:"";position:absolute;left:13px;right:13px;bottom:-6px;height:3px;border-radius:3px;background:#0b57d0}
body .wm-enroll,body a.hbtn.wm-enroll{background:linear-gradient(135deg,#0d6bf2,#0a46ad)!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:12px 26px!important;font-size:14px!important;font-weight:700!important;letter-spacing:.2px;box-shadow:0 8px 18px #0a46ad4d!important;transition:.2s}
body .wm-enroll:hover{transform:translateY(-2px);box-shadow:0 12px 24px #0a46ad66!important}

/* ---------- hero ---------- */
body .wm-hero{min-height:420px;background:linear-gradient(105deg,#eef7ff 0%,#d9ecff 45%,#0a63d6 100%)}
body .wm-hero-inner{min-height:420px;width:min(1240px,calc(100% - 42px))}
body .wm-hero-copy{padding:36px 0 56px}
body .wm-eyebrow{background:#cfe7ff;color:#0a46ad;font-size:12px;font-weight:700;padding:6px 14px;border:1px solid #b5d8fb}
body .wm-hero h1{font-size:clamp(34px,4.3vw,54px);line-height:1.05;letter-spacing:-1.4px;font-weight:800;color:#0d1b3a;max-width:560px}
body .wm-hero h1 em{color:#0b57d0}
body .wm-hero-copy>p{font-size:15px;line-height:1.6;color:#1f3350;max-width:500px;font-weight:500}
body .wm-actions{gap:14px;margin:22px 0}
body .wm-btn{padding:14px 26px;border-radius:10px;font-size:14px;font-weight:700;gap:8px;letter-spacing:.1px}
body .wm-btn-primary{background:linear-gradient(135deg,#0d6bf2,#0a46ad);color:#fff;border:2px solid #0a46ad;box-shadow:0 10px 22px #0a46ad45}
body .wm-btn-primary:hover{background:linear-gradient(135deg,#0a5ad6,#083a94);box-shadow:0 14px 26px #0a46ad66}
body .wm-btn-outline{background:#fff;color:#0a46ad;border:2px solid #0b57d0;box-shadow:0 6px 16px #0a46ad22}
body .wm-btn-outline:hover{background:#0b57d0;color:#fff}
body .wm-btn-light{background:#fff;color:#0a46ad;font-weight:800;border:2px solid #fff;box-shadow:0 10px 24px #00183f55}
body .wm-btn-light:hover{background:#eaf3ff}
body .wm-hero-points{gap:18px;margin-top:26px}
body .wm-hero-points>div{gap:10px;padding-right:18px;border-right:1px solid #c6d6ea}
body .wm-hero-points b{font-size:12px;font-weight:600;color:#0d1b3a}
body .wm-hero-points svg,body .wm-hero-pills svg{width:26px;height:26px;fill:none;stroke:#0b57d0;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
body .wm-hero-pills{gap:14px;top:10%}
body .wm-hero-pills span{display:flex;align-items:center;gap:10px;padding:12px 20px;font-size:12px;font-weight:700;color:#0d1b3a;box-shadow:0 10px 26px #082b5940;border:1px solid #e3eefc}
body .wm-hero-pills svg{width:20px;height:20px}
body .wm-hero-pills span:nth-child(2){margin-right:-6px}
body .wm-hero-pills span:nth-child(3){margin-right:6px}

/* ---------- section titles ---------- */
body .wm-section-title>span,body .wm-test-intro>span{font-size:11px;font-weight:800;letter-spacing:1.8px;color:#0b57d0}
body .wm-section-title>span:before,body .wm-section-title>span:after{content:"";display:inline-block;width:22px;height:2px;background:#0b57d0;vertical-align:middle;margin:0 8px}
body .wm-section-title.wm-left>span:before{display:none}
body .wm-section-title h2{font-size:clamp(26px,2.8vw,34px);font-weight:800;color:#0d1b3a}
body .wm-section-title h2 em,body .wm-test-intro h2 em{color:#0b57d0}
body .wm-section-title p{font-size:13.5px;color:#4d5e76}

/* ---------- course category cards ---------- */
body .wm-category-grid{gap:14px}
body .wm-category-card{height:176px;border-radius:16px;border:1px solid #e1eaf6;background:linear-gradient(160deg,var(--card-bg),#fff 140%);box-shadow:0 8px 22px #17385d14;padding:14px 10px}
body .wm-category-card:hover{transform:translateY(-6px);box-shadow:0 16px 32px #17385d26}
body .wm-category-icon{width:56px;height:56px;margin-bottom:8px}
body .wm-category-icon svg{width:50px;height:50px;stroke-width:2.4}
body .wm-category-card b{font-size:15px;font-weight:700;color:#0d1b3a;margin-bottom:5px}
body .wm-category-card small{font-size:11.5px;line-height:1.4;color:#566782}
body .wm-category-arrow{width:32px;height:32px;margin-top:9px;background:#fff;color:var(--card-accent);font-size:20px;font-weight:800;box-shadow:0 4px 10px #0d294230;border:1.5px solid var(--card-accent)}
body .wm-category-card:hover .wm-category-arrow{background:var(--card-accent);color:#fff}

/* ---------- why choose us ---------- */
body .wm-video-card{height:230px;border-radius:16px;box-shadow:0 12px 28px #0c2e6040}
body .wm-video-copy b{font-size:23px}
body .wm-video-copy small{font-size:11px}
body .wm-video-play{width:64px;height:64px;font-size:22px;background:linear-gradient(135deg,#0d6bf2,#0a46ad)}
body .wm-benefit{border-radius:14px;padding:16px 10px;min-height:150px;border:1px solid #dfe8f4;box-shadow:0 6px 18px #17385d10}
body .wm-benefit-icon{height:44px}
body .wm-benefit-icon svg{width:38px;height:38px;stroke:#0b57d0;stroke-width:2.1}
body .wm-benefit b{font-size:13px;font-weight:700;color:#0d1b3a}
body .wm-benefit p{font-size:11px;color:#5d6e86}

/* ---------- stats bar ---------- */
body .wm-stats{background:linear-gradient(100deg,#0a4fc2,#0b6be6);padding:18px 0;border-radius:22px;box-shadow:0 14px 30px #0a46ad45}
body .wm-stat{grid-template-columns:48px auto;padding:2px 26px}
body .wm-stat svg{width:40px;height:40px;stroke-width:2.1}
body .wm-stat b{font-size:25px;font-weight:800}
body .wm-stat small{font-size:12px;font-weight:500}

/* ---------- instructors ---------- */
body .wm-teachers{gap:18px}
body .wm-teacher{padding:14px;border-radius:16px;box-shadow:0 8px 22px #15395d14;gap:14px}
body .wm-teacher>img{width:98px;height:98px;border:3px solid #e3efff}
body .wm-teacher b{font-size:14px;font-weight:700}
body .wm-teacher small{font-size:11.5px;color:#566782}
body .wm-teacher-info>span{font-size:11px;font-weight:500}
body .wm-social-mini{gap:10px;margin-top:8px}
body .wm-social-mini a{width:24px;height:24px;border-radius:50%;display:inline-grid;place-items:center;background:#eaf3ff;color:#0b57d0;font-size:11px}
body .wm-social-mini a:hover{background:#0b57d0;color:#fff}

/* ---------- testimonials ---------- */
body .wm-testimonials{background:#eef6ff;padding:32px 0}
body .wm-test-intro h2{font-size:26px;font-weight:800}
body .wm-test-intro p{font-size:13px}
body .wm-test-card{padding:16px;border-radius:16px;box-shadow:0 8px 22px #17385d14;min-height:150px}
body .wm-test-person img{width:48px;height:48px}
body .wm-test-person b{font-size:12.5px;font-weight:700}
body .wm-test-person small{font-size:10.5px}
body .wm-test-person span{font-size:13px}
body .wm-test-card>p{font-size:12px;color:#4d5e76}

/* ---------- CTA ---------- */
body .wm-cta-inner{background:linear-gradient(105deg,#0b57d0,#06336d);border-radius:20px;padding:24px 34px;box-shadow:0 16px 34px #0a46ad4d}
body .wm-cta h2{font-size:28px;font-weight:800}
body .wm-cta p{font-size:14px}
body .wm-cta-tags{font-size:12px;font-weight:600;gap:20px}

/* ---------- contact ---------- */
body .wm-contact-kicker+.wm-contact-kicker{display:none!important}
body .wm-contact-intro h3,body .wm-campus h3{font-size:19px;font-weight:700}
body .wm-contact-intro p,body .wm-campus p{font-size:12px}
body .wm-contact-details p{font-size:12.5px;font-weight:500}
body .wm-map{height:130px;border-radius:12px;box-shadow:0 6px 16px #17385d1a}
body .wm-campus a{padding:8px 16px;font-size:12px;font-weight:700;border:1.5px solid #0b57d0;background:#fff;color:#0b57d0}
body .wm-campus a:hover{background:#0b57d0;color:#fff}

/* ---------- footer ---------- */
body .wm-footer{background:#06284f!important;padding:36px 0 14px!important}
body .wm-footer .fbrand{padding-left:70px}
body .wm-footer-logo{width:58px!important;height:58px!important;padding:4px;background:#fff!important;border-radius:12px!important;object-fit:contain!important;display:block!important;box-shadow:0 4px 12px #00000040}
body .wm-footer .fbrand>b{font-size:17px!important;font-weight:700}
body .wm-footer .tag2{font-size:11px!important}
body .wm-footer-about{font-size:12px!important;line-height:1.6!important}
body .wm-footer .fcol h4{font-size:14px!important;font-weight:700!important;margin-bottom:12px!important}
body .wm-footer .fcol>a{font-size:12px!important;line-height:2!important}
body .wm-footer-social{gap:10px}
body .wm-footer-social a{width:30px!important;height:30px!important;font-size:13px!important;font-weight:800}
body .wm-footer-newsletter p{font-size:12px!important}
body .wm-footer-subscribe{padding:4px;border-radius:9px}
body .wm-footer-subscribe input{font-size:12px!important;padding:9px!important}
body .wm-footer-subscribe button{background:linear-gradient(135deg,#0d6bf2,#0a46ad)!important;padding:0 14px!important;border-radius:7px!important;font-weight:800}
body .wm-footer .fbot{font-size:11px!important}
body .wm-credit{font-size:11px!important}

/* ---------- admin brand mark (logo image) ---------- */
.wm-admin-mark{border-radius:12px!important;width:46px!important;height:46px!important;flex-basis:46px!important}

/* ---------- responsive ---------- */
@media(max-width:900px){
  body .wm-category-card{height:165px}
  body .wm-teacher>img{width:76px;height:76px}
}
@media(max-width:700px){
  body .wm-topbar{font-size:10px!important}
  body .wm-hero,body .wm-hero-inner{min-height:0}
  body .wm-hero h1{font-size:32px}
  body .wm-hero-copy>p{font-size:13px}
  body .wm-btn{padding:12px 18px;font-size:13px}
  body .wm-hero-points svg{width:20px;height:20px}
  body .wm-hero-points b{font-size:10px}
  body .wm-hero-pills span{padding:7px 11px;font-size:10px}
  body .wm-hero-pills svg{width:15px;height:15px}
  body .wm-category-card{height:158px}
  body .wm-category-icon{width:44px;height:44px}
  body .wm-category-icon svg{width:40px;height:40px}
  body .wm-category-card b{font-size:13px}
  body .wm-category-card small{font-size:10px}
  body .wm-benefit{min-height:130px}
  body .wm-video-card{height:200px}
  body .wm-stat b{font-size:19px}
  body .wm-stat svg{width:28px;height:28px}
  body .wm-teacher>img{width:54px;height:54px}
  body .wm-teacher b{font-size:11px}
  body .wm-cta h2{font-size:18px}
  body .wm-cta p{font-size:11px}
  body .wm-footer .fbrand{padding-left:68px}
}

/* ==========================================================================
   V17.1 — mobile alignment fix (content shifted left / sideways scroll)
   ========================================================================== */
html,body{max-width:100%;overflow-x:hidden;overflow-x:clip}
body .wm-hero,body .wm-section,body .wm-stats,body .wm-cta,body .wm-contact,body .wm-testimonials,body .wm-footer{max-width:100%;overflow-x:clip}
body .wm-hero-inner,body .wm-why-grid,body .wm-contact-grid,body .wm-test-grid,body .wm-cta-inner{min-width:0}
body .wm-hero-copy,body .wm-hero-image,body .wm-why-content,body .wm-video-card,body .wm-cta-inner>*,body .wm-contact-grid>*{min-width:0}
body .wm-footer-grid>*{min-width:0}
body img,body video,body iframe{max-width:100%}

@media(max-width:700px){
  body .wm-hero-inner{grid-template-columns:minmax(0,1fr)!important;width:calc(100% - 28px)!important}
  body .wm-hero-copy{padding:20px 0 8px!important}
  body .wm-hero h1{font-size:30px!important;letter-spacing:-.8px;max-width:100%!important}
  body .wm-eyebrow{font-size:11px;max-width:100%}
  body .wm-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px;margin:16px 0}
  body .wm-btn{white-space:nowrap;padding:12px 16px!important;font-size:13px!important;flex:1 1 auto;max-width:100%}
  body .wm-hero-points{display:grid!important;grid-template-columns:1fr 1fr;gap:12px 10px!important;margin-top:16px}
  body .wm-hero-points>div{border:0!important;padding:0!important;min-width:0}
  body .wm-hero-points b{font-size:11px!important}
  body .wm-hero-image{margin:0 -14px!important;min-height:230px!important;height:230px!important}
  body .wm-hero-pills{right:8px!important;top:10px!important;gap:7px!important}
  body .wm-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body .wm-benefits{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body .wm-teachers{grid-template-columns:1fr!important}
  body .wm-teacher>img{width:70px!important;height:70px!important}
  body .wm-test-grid{grid-template-columns:minmax(0,1fr)!important}
  body .wm-cta-inner{grid-template-columns:minmax(0,1fr)!important;text-align:center;padding:20px 16px!important}
  body .wm-cta-tags{justify-content:center}
  body .wm-contact-grid{grid-template-columns:minmax(0,1fr)!important}
  body .wm-contact-details{border-left:0!important;padding-left:0!important}
  body .wm-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body .wm-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body .wm-topbar-in{justify-content:center!important;flex-wrap:wrap!important;padding:5px 10px!important}
  body .wm-follow{width:100%!important;justify-content:center!important}
}
