/*
 * NEOMED Medical Center — Elegant Visual Layer
 * Load AFTER main.scss. Presentation-only: preserves Blade markup, routes and content.
 * Design direction: premium clinical, editorial typography, restrained blue accents.
 */

:root {
  --neo-accent: #006eff;
  --neo-accent-light: #00adee;
  --neo-ink: #122c43;
  --neo-body: #536779;
  --neo-muted: #7a8b99;
  --neo-line: #e2eaf0;
  --neo-surface: #f6f9fb;
  --neo-white: #fff;
  --neo-radius: 10px;
  --neo-radius-sm: 6px;
  --neo-shadow: 0 8px 28px rgba(17, 48, 73, .065);
  --neo-shadow-hover: 0 14px 36px rgba(17, 48, 73, .11);
}

html { scroll-behavior: smooth; }
body {
  color: var(--neo-body);
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
  color: var(--neo-ink);
  font-family: Gabarito, Inter, sans-serif;
  letter-spacing: -.025em;
  line-height: 1.22;
}
body h2 { font-size: clamp(1.65rem, 2.2vw, 2.25rem); font-weight: 600; margin-bottom: 1rem; }
body p { color: inherit; }
body a { color: var(--neo-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
body a:hover { color: #0055c9; }
::selection { color: #fff; background: var(--neo-accent); }
body :focus-visible { outline: 2px solid var(--neo-accent-light); outline-offset: 3px; }

/* Buttons: crisp, confident, not pill-shaped */
body .btn {
  min-height: 44px;
  padding: .68rem 1.15rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body .btn.btn-main {
  color: #fff;
  border-color: var(--neo-accent);
  background: var(--neo-accent);
  box-shadow: 0 4px 12px rgba(0, 110, 255, .13);
}
body .btn.btn-main:hover { color: #fff; background: #005bd6; border-color: #005bd6; transform: translateY(-1px); box-shadow: 0 7px 17px rgba(0, 110, 255, .2); }
body .btn.btn-sec { color: var(--neo-ink); border: 1px solid #cbd9e4; background: #fff; }
body .btn.btn-sec:hover { color: var(--neo-accent); border-color: var(--neo-accent); background: #fff; }

/* Header — white, airy, clear hierarchy */
.inno-nav {
  position: relative;
  z-index: 20;
  min-height: 88px;
  padding: .9rem clamp(1.2rem, 5vw, 5rem);
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--neo-line);
  box-shadow: none;
}
.inno-nav .logo img { display: block; width: auto; max-height: 49px; object-fit: contain; }
.inno-nav .nav { gap: clamp(.7rem, 1.2vw, 1.4rem); }
.inno-nav .nav li { padding-left: 0; }
.inno-nav .nav li > a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: .55rem .2rem;
  color: #334b60;
  font-size: .91rem;
  font-weight: 500;
}
.inno-nav .nav li > a:not(.btn)::after {
  position: absolute; content: ""; left: .2rem; right: .2rem; bottom: .22rem;
  height: 2px; background: var(--neo-accent-light); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.inno-nav .nav li > a:not(.btn):hover { color: var(--neo-accent); }
.inno-nav .nav li > a:not(.btn):hover::after { transform: scaleX(1); }
.inno-nav .nav li.ps-4 { padding-left: .3rem !important; }
.inno-nav .lang-switch button { min-height: 38px; padding: .35rem .5rem; border: 1px solid var(--neo-line) !important; border-radius: 5px; background: #fff; }
.inno-nav .lang-switch .dropdown-menu { min-width: 56px; padding: .35rem; border: 1px solid var(--neo-line); border-radius: 6px; box-shadow: var(--neo-shadow); }
.inno-nav .lang-switch .dropdown-item { border-radius: 4px; }
.inno-nav .lang-switch .dropdown-item:hover { background: var(--neo-surface); }
.inno-nav .toggler { color: var(--neo-ink); border: 1px solid var(--neo-line); background: #fff; }

/* Mobile menu remains functional while adopting the same visual language */
.inno-mob-nav { background: #fff; }
.inno-mob-nav a { color: var(--neo-ink); }
.inno-mob-nav a:hover { color: var(--neo-accent); }

/* Homepage hero — balanced split layout, restrained wash */
.inno-hero { padding-top: clamp(1.25rem, 3.3vw, 3rem); padding-bottom: clamp(1.5rem, 3.3vw, 3rem); }
.inno-hero > .row { align-items: stretch; }
.inno-hero .hero-wrapper { min-width: 0; }
.inno-hero .hero-text {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 100%; padding: clamp(1.6rem, 3vw, 3rem);
  position: relative; overflow: hidden;
  border: 1px solid #e6edf2; border-radius: var(--neo-radius);
  background: linear-gradient(135deg, #f8fbfd 0%, #f2f8fc 100%);
  box-shadow: none;
}
.inno-hero .hero-text::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 68px; background: var(--neo-accent-light); }
.inno-hero .hero-text h1 { max-width: 15ch; margin-bottom: .5rem; color: var(--neo-ink); font-size: clamp(2rem, 3.2vw, 3.35rem); line-height: 1.09; font-weight: 600; letter-spacing: -.045em; }
.inno-hero .hero-text h1 b, .inno-hero .hero-text h1 strong { color: var(--neo-accent); font-weight: 600; }
.inno-hero .hero-text .hero-desc { max-width: 49ch; margin-top: 1rem; color: #607486; font-size: .98rem; line-height: 1.8; }
.inno-hero .hero-text .btn { align-self: flex-start; margin-top: 1.3rem !important; }
.inno-hero .splide, .inno-hero .splide__track { height: 100%; border-radius: var(--neo-radius); }
.inno-hero .splide__track { overflow: hidden; box-shadow: none; }
.inno-hero .splide .splide__slide { overflow: hidden; background: #f0f5f8; }
.inno-hero .splide .splide__track img { display: block; width: 100%; height: 100%; min-height: 300px; aspect-ratio: 13/6; object-fit: cover; }
.inno-hero .splide .splide__arrow { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.75); border-radius: 5px; background: rgba(18,44,67,.62); opacity: 1; }
.inno-hero .splide .splide__arrow:hover { background: var(--neo-accent); }
.inno-hero .splide .splide__pagination { bottom: .85rem; }
.inno-hero .splide .splide__pagination__page { width: 17px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.75); }
.inno-hero .splide .splide__pagination__page.is-active { width: 26px; background: var(--neo-accent-light); }

/* Shared page width and rhythm */
.inno-page { padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.inno-team { padding-top: clamp(2.25rem, 4.5vw, 4rem) !important; padding-bottom: clamp(2.25rem, 4.5vw, 4rem) !important; }
.inno-team h2 { max-width: 19ch; }
.inno-team .desc { max-width: 62ch; color: #637789; line-height: 1.8; }

/* Services — quiet white cards with hairline borders */
.inno-services { gap: 1rem 0; }
.inno-services .service-wrapper { min-width: 0; }
.inno-services .service {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  height: 100%; min-height: 205px; padding: 1.35rem;
  overflow: hidden; border: 1px solid var(--neo-line); border-radius: 8px;
  background: #fff; color: var(--neo-ink); box-shadow: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.inno-services .service .icon { width: 48px; height: 48px; object-fit: contain; padding: 0; background: transparent; box-shadow: none; }
.inno-services .service .title { margin-top: 1rem; margin-bottom: .45rem; color: var(--neo-ink); font-size: 1.05rem; line-height: 1.35; font-weight: 600; }
.inno-services .service .desc { color: #708292; font-size: .88rem; line-height: 1.65; }
.inno-services .service .overlay-pattern { opacity: 0; transition: opacity .2s ease; }
.inno-services .service:hover { transform: translateY(-3px); border-color: #9edcf4; background: #fff; box-shadow: var(--neo-shadow); }
.inno-services .service:hover .title { color: var(--neo-accent); }
.inno-services .service:hover .overlay-pattern { opacity: .025; }

/* Doctor profiles — clean portraits and clear text hierarchy */
.inno-team .doctors { row-gap: 1.15rem; }
.inno-team .doctors .person-wrapper { min-width: 0; }
.inno-team .doctors .person {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 320px; overflow: hidden; padding: 0 1rem;
  border: 1px solid var(--neo-line); border-radius: 8px;
  background: #f5f9fc; box-shadow: none; transform: none;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.inno-team .doctors .person:hover { transform: translateY(-3px); border-color: #a8dff4; box-shadow: var(--neo-shadow-hover); }
.inno-team .doctors .person .details { position: relative; z-index: 2; padding: 1.1rem 0 .6rem; margin-bottom: auto; }
.inno-team .doctors .person h4 { margin-bottom: .35rem; color: var(--neo-ink); font-size: 1.03rem; line-height: 1.35; font-weight: 600; letter-spacing: -.015em; }
.inno-team .doctors .person .designation { color: var(--neo-accent); font-size: .87rem; line-height: 1.5; font-weight: 500; }
.inno-team .doctors .person .branch { position: relative; bottom: auto; display: inline-flex; align-items: center; max-width: 100%; margin-top: .7rem; padding: .32rem .55rem; border: 1px solid #e0eaf1; border-radius: 4px; color: #47657d; background: rgba(255,255,255,.85); box-shadow: none; font-size: .73rem; line-height: 1.3; }
.inno-team .doctors .person .branch img { flex: 0 0 auto; width: 18px; height: 18px; margin-right: .35rem; object-fit: contain; }
.inno-team .doctors .person > img { display: block; position: relative; z-index: 1; width: 100%; max-width: 250px; height: 205px; margin: auto auto 0; object-fit: contain; object-position: bottom center; }
.inno-category-filter { display: flex; flex-wrap: wrap; gap: .45rem; }
.inno-category-filter > div { margin: 0 !important; }
.inno-category-filter a { display: inline-flex; align-items: center; min-height: 38px; padding: .42rem .8rem; border: 1px solid var(--neo-line); border-radius: 5px; color: #435d72; background: #fff; font-size: .86rem; }
.inno-category-filter a:hover { border-color: var(--neo-accent); color: var(--neo-accent); background: #f7fbff; }

/* About page */
.inno-section { align-items: stretch; }
.inno-section p, .inno-section li { color: #536b7d; line-height: 1.85; }
.inno-section ul { columns: 1; }
.inno-section ul li { break-inside: avoid; padding: .35rem 0; }
.inno-section ul li::before { width: 6px; height: 6px; margin-right: .7rem; border-radius: 50%; background: var(--neo-accent-light); vertical-align: middle; }
.inno-section .about-feature { height: 100%; padding: 1.45rem; border: 1px solid var(--neo-line); border-radius: 8px; background: #fff; box-shadow: none; }
.inno-section .about-feature img { object-fit: contain; }
.inno-section .about-feature h3, .inno-section .about-feature h4, .inno-section .about-feature h5, .inno-section .about-feature h6 { font-size: 1.12rem; font-weight: 600; }
.inno-section .about-feature p { color: #6c7f8e; }

/* Breadcrumbs — subtle page marker rather than a large banner */
.inno-breadcrumb { padding: clamp(1.4rem, 2.8vw, 2.2rem) 0; border-bottom: 1px solid var(--neo-line); background: #f7fafc; }
.inno-breadcrumb h1 { margin-bottom: .35rem; color: var(--neo-ink); font-size: clamp(1.75rem, 2.8vw, 2.45rem); font-weight: 600; letter-spacing: -.035em; }
.inno-breadcrumb .bread-links { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .65rem; }
.inno-breadcrumb .bread-links a, .inno-breadcrumb .bread-links span { padding: .2rem .45rem; border-radius: 3px; font-size: .8rem; }
.inno-breadcrumb .bread-links a { border: 1px solid #dce7ef; background: #fff; color: var(--neo-accent); }
.inno-breadcrumb .bread-links a:hover { border-color: var(--neo-accent); color: var(--neo-accent); background: #fff; }

/* Promotions and articles */
.inno-blog .blogpost { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--neo-line); border-radius: 8px; background: #fff; box-shadow: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.inno-blog a { display: block; height: 100%; color: inherit; text-decoration: none; }
.inno-blog .blogpost:hover { transform: translateY(-3px); border-color: #a9ddf2; box-shadow: var(--neo-shadow); }
.inno-blog .blogpost > img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.inno-blog .blogpost .post-published { padding: .85rem 1rem 0; color: #1688c8; font-size: .76rem; font-weight: 600; }
.inno-blog .blogpost .post-details { padding: .65rem 1rem 1.1rem; }
.inno-blog .blogpost .post-details .title { margin-bottom: .55rem; color: var(--neo-ink); font-size: 1.08rem; line-height: 1.4; font-weight: 600; }
.inno-blog .blogpost .post-details .excerpt { color: #718291; font-size: .87rem; line-height: 1.7; }
.inno-blog .header-photo img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: none; }
.inno-blog .post-content { color: #526879; line-height: 1.9; }
.inno-blog .post-content h2, .inno-blog .post-content h3 { margin-top: 1.5rem; color: var(--neo-ink); }

/* Contact section — consistent panels, clear form controls */
.inno-last { margin-bottom: 0; padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); background: #f7fafc; }
.inno-last .request-project, .inno-last .bg-section { height: 100%; padding: clamp(1.2rem, 2.4vw, 1.8rem); border: 1px solid var(--neo-line); border-radius: 8px; background: #fff; box-shadow: none; }
.inno-last .request-project h2, .inno-last .bg-section h2 { font-size: clamp(1.4rem, 1.8vw, 1.8rem); font-weight: 600; }
.inno-last .request-project .desc { display: block; margin-bottom: 1rem; color: #758696; }
.inno-last .project-types { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 1.2rem; }
.inno-last .project-types .project-type { min-height: 36px; padding: .42rem .7rem; border: 1px solid #dce6ee; border-radius: 4px; color: #496175; background: #fff; font-size: .79rem; white-space: normal; }
.inno-last .project-types .btn-check:checked + .project-type { border-color: var(--neo-accent); color: #fff; background: var(--neo-accent); }
.inno-last .form-control { min-height: 46px; border: 1px solid #dce5ec; border-radius: 5px; padding: .7rem .8rem; color: var(--neo-ink); background: #fff; box-shadow: none; font-size: .9rem; }
.inno-last textarea.form-control { min-height: 112px; resize: vertical; }
.inno-last .form-control::placeholder { color: #9aa8b4; }
.inno-last .form-control:focus { border-color: var(--neo-accent-light); background: #fff; box-shadow: 0 0 0 3px rgba(0,173,238,.1); }
.inno-contact .contact-details { padding-top: 1rem; border-top: 1px solid var(--neo-line); }
.inno-contact .contact-details li { gap: .2rem; margin-bottom: 1rem; color: #718291; line-height: 1.65; overflow-wrap: anywhere; }
.inno-contact .contact-details li span { color: var(--neo-ink); font-weight: 600; }
.inno-contact .contact-details li i { color: var(--neo-accent-light); }
.inno-contact .contact-details li a { color: #536c7f; }
.inno-contact .contact-details li a:hover { color: var(--neo-accent); }
.inno-mob-nav .customer-support, .inno-contact .customer-support { padding: .9rem; border: 1px solid var(--neo-line); border-radius: 6px; background: #f8fbfd; }
.inno-contact .customer-support h5 { margin-bottom: .2rem; color: var(--neo-ink); font-size: .95rem; font-weight: 600; }
.inno-contact .customer-support span { color: #748695; font-size: .84rem; }
.inno-contact .customer-support .btn { display: inline-grid; place-items: center; min-width: 42px; padding: .55rem; color: #fff; border-radius: 5px; background: var(--neo-accent); }
.inno-contact .texting-support { display: flex; align-items: center; justify-content: space-between; min-height: 62px; padding: .8rem 1rem; border: 1px solid #ccecf8; border-radius: 6px; background: #f3fbfe; }
.inno-contact .texting-support span { color: #23617d; font-weight: 600; }
.inno-contact .texting-support .btn { display: inline-grid; place-items: center; color: var(--neo-accent); background: transparent; }
.map-embed { min-height: 320px; overflow: hidden; border: 1px solid var(--neo-line); border-radius: 8px; box-shadow: none; background: #eef3f6; }
.map-embed iframe { display: block; width: 100%; min-height: 320px; border: 0; }

/* Footer — dark navy anchor for a more considered finish */
.inno-footer { margin-top: 0; padding: 2.25rem clamp(1.2rem, 5vw, 5rem); border-top: 0; background: #122c43; color: #b9c8d4; }
.inno-footer span, .inno-footer a, .inno-footer .logo { opacity: 1; }
.inno-footer .logo { border-color: rgba(255,255,255,.15) !important; }
.inno-footer .logo img { max-width: 100%; object-fit: contain; }
.inno-footer .follow-us > span { color: #fff; font-weight: 600; }
.inno-footer .social-media { gap: .45rem; }
.inno-footer .social-media li { margin-right: 0 !important; }
.inno-footer .social-media a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2); border-radius: 5px; color: #d7e6f0; background: rgba(255,255,255,.04); }
.inno-footer .social-media a:hover { color: #fff; border-color: var(--neo-accent-light); background: var(--neo-accent); transform: translateY(-1px); }
.inno-footer .footer-nav { gap: .35rem 1rem; }
.inno-footer .footer-nav li { margin: 0 !important; }
.inno-footer .footer-nav a { color: #e0e9ef; font-size: .9rem; font-weight: 500; }
.inno-footer .footer-nav a:hover { color: var(--neo-accent-light); }
.inno-footer .footer-right > span { color: #91a5b5; font-size: .78rem; }
.inno-footer .footer-right b { color: #dce6ed; }

/* Responsive refinements */
@media (max-width: 991.98px) {
  .inno-nav { min-height: 74px; }
  .inno-nav .logo img { max-height: 43px; }
  .inno-hero .hero-text { min-height: 0; }
  .inno-hero .splide, .inno-hero .splide__track { height: auto; }
  .inno-hero .splide .splide__track img { min-height: 250px; }
  .inno-team .doctors .person { min-height: 300px; }
}
@media (max-width: 575.98px) {
  body { font-size: 14px; }
  .inno-nav { padding: .8rem 1rem; }
  .inno-nav .logo img { max-height: 39px; }
  .inno-hero { padding-top: 1rem; }
  .inno-hero .hero-text { padding: 1.4rem; border-radius: 7px; }
  .inno-hero .hero-text h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .inno-hero .splide, .inno-hero .splide__track { border-radius: 7px; }
  .inno-hero .splide .splide__track img { min-height: 210px; }
  .inno-services .service { min-height: 180px; padding: 1rem; }
  .inno-services .service .icon { width: 42px; height: 42px; }
  .inno-team .doctors .person { min-height: 275px; padding-right: .8rem; padding-left: .8rem; }
  .inno-team .doctors .person > img { height: 175px; }
  .inno-last .request-project, .inno-last .bg-section { padding: 1.1rem; }
  .map-embed, .map-embed iframe { min-height: 280px; }
  .inno-footer { padding: 1.8rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
