/* ==========================================================================
   Theme5 — layered on base.css (the shared component library, same pages and
   components as the Default theme).
   Palette: midnight navy (#0B1B34) with a teal -> sky gradient
   (#0D9488 -> #38BDF8) and a warm coral highlight (#FF7A59), on a very light
   mint-grey paper (#F3F8F8). The teal follows the admin primary colour.
   Effects: aurora gradient glows in the hero, page headers, call-to-action
   and footer; gradient pill buttons with a light sweep; cards with a
   gradient border and a cursor spotlight; animated category marquee;
   gradient underline navigation; scan line on the batch sample.
   Fonts: Sora (headings) and Inter (text), both self-hosted.
   ========================================================================== */

:root {
  --navy: #0B1B34;
  --navy-2: #12284a;
  --brand: #0D9488;
  --brand-rgb: 13, 148, 136;
  --brand-ink: #ffffff;
  --sky: #38BDF8;
  --sky-rgb: 56, 189, 248;
  --coral: #FF7A59;
  --coral-rgb: 255, 122, 89;
  --grad: linear-gradient(120deg, var(--brand) 0%, var(--sky) 100%);
  --grad-warm: linear-gradient(120deg, var(--coral) 0%, #FFB547 100%);

  --ink: var(--navy);
  --ink-2: #1f3354;
  --slate: #4c5d74;
  --mute: #7d8ba0;
  --paper: #F3F8F8;
  --paper-2: #E6F2F1;
  --line: #dfe9ec;

  --primary-soft: rgba(var(--brand-rgb), .1);
  --primary-line: rgba(var(--brand-rgb), .3);
  --primary-deep: color-mix(in srgb, var(--brand) 55%, #061226);
  --shadow-sm: 0 1px 2px rgba(11, 27, 52, .05), 0 6px 18px rgba(11, 27, 52, .05);
  --shadow-md: 0 14px 34px -16px rgba(11, 27, 52, .22);
  --shadow-lg: 0 30px 60px -26px rgba(11, 27, 52, .35);
  --shadow-brand: 0 16px 34px -14px rgba(var(--brand-rgb), .6);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: var(--font-family, "Inter"), "Segoe UI", system-ui, sans-serif;

  --r-xl: 26px; --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
  --bs-link-hover-color: var(--navy);
}

html:has(body.t5) { overflow-x: clip; }
body.t5 { overflow-x: clip; color: var(--slate); }
::selection { background: rgba(var(--brand-rgb), .25); color: var(--navy); }
.t5 :focus-visible { outline: 3px solid rgba(var(--sky-rgb), .9); outline-offset: 2px; }

/* Type ---------------------------------------------------------------------- */
.t5 h1, .t5 h2, .t5 h3, .t5 h4, .t5 h5, .t5 h6 { letter-spacing: -.025em; }
.t5-grad-text, .section-head h2 .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Kicker: gradient text with a pulsing dot */
.kicker { font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-color); gap: .6rem; }
.kicker::before { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(var(--brand-rgb), .5); animation: t5Pulse 2.4s ease-out infinite; }
.kicker.on-dark { color: #7fe3d8; }
.kicker.on-dark::before { background: #5eead4; }
@keyframes t5Pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--brand-rgb), .45); } 80%, 100% { box-shadow: 0 0 0 10px rgba(var(--brand-rgb), 0); } }

/* Section headings: gradient underline that draws in when revealed */
.section-head h2 { position: relative; padding-bottom: .9rem; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 4px; background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease-out) .25s; }
.section-head.center h2::after { left: 50%; margin-left: -32px; transform-origin: center; }
.section-head h2.aos-animate::after, .section-head h2.is-in::after, html:not(.js-reveal) .section-head h2::after { transform: scaleX(1); }

/* Buttons: gradient pills with a light sweep --------------------------------- */
.btn { position: relative; overflow: hidden; }
.btn-primary {
  --bs-btn-color: var(--brand-ink); --bs-btn-hover-color: var(--brand-ink); --bs-btn-active-color: var(--brand-ink);
  background: var(--grad); background-size: 140% 100%; background-position: 0 0; border: 0; color: var(--brand-ink);
  box-shadow: var(--shadow-brand); transition: background-position .5s ease, transform .4s var(--ease-out), box-shadow .4s ease;
}
.btn-primary:hover, .btn-primary:focus-visible, .btn-primary:active { background: var(--grad); background-size: 140% 100%; background-position: 100% 0; color: var(--brand-ink); transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(var(--brand-rgb), .7); }
.btn-primary::after, .btn-light::after, .btn-glass::after, .btn-outline-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-18deg); transition: left .7s ease;
}
.btn-primary:hover::after, .btn-light:hover::after, .btn-glass:hover::after, .btn-outline-primary:hover::after { left: 130%; }
.btn-outline-primary { --bs-btn-color: var(--primary-color); --bs-btn-border-color: rgba(var(--brand-rgb), .45); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-hover-color: var(--brand-ink); }
.btn-light { color: var(--navy); }
.btn-light:hover { color: var(--primary-color); }
.link-arrow { color: var(--navy); }
.link-arrow i { color: var(--primary-color); }

/* Chips and surfaces ------------------------------------------------------- */
.icon-chip { background: linear-gradient(135deg, rgba(var(--brand-rgb), .14), rgba(var(--sky-rgb), .16)); color: var(--primary-color); }
.icon-chip.rx { background: rgba(var(--coral-rgb), .12); color: #c2410c; }
.chip.solid, .pagination .active > .page-link, .pagination .page-item.active .page-link { background: var(--grad); border-color: transparent; color: var(--brand-ink); }
.chip.brand { background: rgba(var(--brand-rgb), .12); color: var(--primary-color); }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .14); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }

/* Preloader, progress, back to top */
.oo-progress span { background: linear-gradient(90deg, var(--brand), var(--sky), var(--coral)); }
.oo-capsule span:first-child { background: var(--brand); }
.oo-capsule span:last-child { border-color: var(--brand); }
.oo-top .bar { stroke: var(--brand); }
.oo-top:hover { color: var(--primary-color); }

/* ==========================================================================
   Top bar + navigation: midnight strip, frosted white bar with a gradient
   underline on the active link and a gradient hairline under the bar
   ========================================================================== */
.oo-topbar { background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%); color: #a9bad3; }
.oo-topbar .meta i { color: #5eead4; }
.oo-topbar .oo-social a:hover { background: var(--brand); }
.t5-nav { background: rgba(255,255,255,.78); }
.t5-nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); opacity: 0; transition: opacity .35s ease; }
.t5-nav.is-scrolled::after { opacity: 1; }
.t5-nav .nav-link { color: var(--ink-2); }
.t5-nav .nav-link::after { background: var(--grad); height: 3px; }
.t5-nav .nav-link:hover, .t5-nav .nav-link:focus, .t5-nav .nav-link.active { color: var(--primary-color); }
.t5-nav .dropdown-menu { border: 0; box-shadow: 0 30px 60px -24px rgba(11,27,52,.38); }
.t5-nav .dropdown-menu::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.t5-nav .dropdown-item:hover, .t5-nav .dropdown-item:focus { background: linear-gradient(90deg, rgba(var(--brand-rgb), .12), rgba(var(--sky-rgb), .06)); }
.t5-nav .btn-search-open:hover { border-color: var(--brand); background: var(--grad); color: #fff; }
.brand-glyph { background: var(--grad) !important; }

/* ==========================================================================
   Aurora: soft moving gradient glows (hero, page headers, CTA, footer)
   ========================================================================== */
.t5-aurora { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; mix-blend-mode: screen; }
.t5-aurora span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.t5-aurora span:nth-child(1) { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; left: -12%; top: -30%; background: radial-gradient(circle, rgba(var(--brand-rgb), .9), transparent 65%); animation: t5DriftA 18s ease-in-out infinite alternate; }
.t5-aurora span:nth-child(2) { width: 38vw; height: 38vw; max-width: 540px; max-height: 540px; right: -8%; top: 10%; background: radial-gradient(circle, rgba(var(--sky-rgb), .8), transparent 65%); animation: t5DriftB 22s ease-in-out infinite alternate; }
.t5-aurora span:nth-child(3) { width: 28vw; height: 28vw; max-width: 420px; max-height: 420px; left: 40%; bottom: -30%; background: radial-gradient(circle, rgba(var(--coral-rgb), .55), transparent 65%); animation: t5DriftC 16s ease-in-out infinite alternate; }
@keyframes t5DriftA { to { transform: translate(18%, 22%) scale(1.15); } }
@keyframes t5DriftB { to { transform: translate(-22%, 14%) scale(.9); } }
@keyframes t5DriftC { to { transform: translate(-30%, -18%) scale(1.2); } }

/* Home hero (Default structure: slides from Admin -> Home slider) */
.oo-hero { background: var(--navy); }
.oo-hero .hero-shade { background: linear-gradient(90deg, rgba(8, 20, 40, .9) 0%, rgba(8, 20, 40, .62) 45%, rgba(8, 20, 40, .1) 100%), linear-gradient(0deg, rgba(8, 20, 40, .55) 0%, transparent 40%); }
.oo-hero .t5-aurora { opacity: .55; }
.oo-hero .hero-copy { z-index: 4; }
.oo-hero h1, .oo-hero .hero-title { text-shadow: 0 10px 40px rgba(0,0,0,.35); }
.oo-hero .hero-title::after { content: ""; display: block; width: 90px; height: 5px; margin-top: 1.1rem; border-radius: 5px; background: var(--grad-warm); }
.oo-hero .hero-dots button { border-radius: 4px; background: rgba(255,255,255,.25); }
.oo-hero .hero-dots button span { background: var(--grad); }
.oo-hero .carousel-control-prev, .oo-hero .carousel-control-next { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.oo-hero .carousel-control-prev:hover, .oo-hero .carousel-control-next:hover { background: var(--grad); border-color: transparent; }
.oo-hero.hero-static { background: radial-gradient(120% 140% at 0% 0%, #12345c 0%, var(--navy) 55%); }
.oo-hero .lattice { color: rgba(127, 227, 216, .45); }

/* Assurance strip: frosted cards with gradient icon on hover */
.assurance .strip { border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.88); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 30px 60px -30px rgba(11,27,52,.45); }
.assurance .item:hover { background: linear-gradient(135deg, rgba(var(--brand-rgb), .06), rgba(var(--sky-rgb), .06)); }
.assurance .item:hover .icon-chip { background: var(--grad); color: #fff; }

/* Category marquee */
.t5-marquee { position: relative; overflow: hidden; padding: 26px 0 8px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.t5-marquee .track { display: flex; width: max-content; animation: t5Marquee 38s linear infinite; }
.t5-marquee:hover .track, .t5-marquee:focus-within .track { animation-play-state: paused; }
.t5-marquee .group { display: flex; gap: 14px; padding-right: 14px; }
.t5-marquee a { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; padding: .7rem 1.3rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; text-decoration: none; box-shadow: var(--shadow-sm); transition: color .3s ease, border-color .3s ease, transform .4s var(--ease-out); }
.t5-marquee a i { color: var(--primary-color); }
.t5-marquee a:hover { color: var(--primary-color); border-color: var(--primary-line); transform: translateY(-3px); }
@keyframes t5Marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Cards: gradient border + cursor spotlight (--mx/--my set by theme5.js)
   ========================================================================== */
.product-card, .post-card, .job-card, .doc-card, .t5-glow {
  --mx: 50%; --my: 0%;
  background:
    radial-gradient(360px circle at var(--mx) var(--my), rgba(var(--brand-rgb), .07), transparent 60%) padding-box,
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--line), var(--line)) border-box;
  border: 1px solid transparent;
}
.product-card:hover, .post-card:hover, .job-card:hover, .doc-card:hover, .t5-glow:hover {
  background:
    radial-gradient(360px circle at var(--mx) var(--my), rgba(var(--brand-rgb), .09), transparent 60%) padding-box,
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--brand), var(--sky), var(--coral)) border-box;
  box-shadow: 0 30px 60px -28px rgba(11, 27, 52, .38);
}
.product-card .well { background: radial-gradient(circle at 50% 35%, #fff 0%, var(--paper-2) 100%); }
.product-card .go { background: rgba(var(--brand-rgb), .12); color: var(--primary-color); }
.product-card:hover .go { background: var(--grad); color: #fff; }
.product-card .price { color: var(--navy); }
.product-card .division { color: var(--primary-color); }
.post-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,27,52,.45)); opacity: 0; transition: opacity .5s ease; }
.post-card:hover .media::after { opacity: 1; }
.surface { border-color: var(--line); }
.media-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 rgba(var(--brand-rgb), .0); transition: box-shadow .4s ease; pointer-events: none; }
.media-tile:hover::after { box-shadow: inset 0 0 0 3px rgba(var(--brand-rgb), .9); }

/* Batch verification band: midnight with aurora and a scan line on the sample */
.verify-band { background: radial-gradient(120% 140% at 100% 0%, #133a5e 0%, var(--navy) 55%); }
.verify-band::before { content: ""; position: absolute; z-index: -1; width: 480px; height: 480px; left: -120px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--brand-rgb), .55), transparent 65%); filter: blur(10px); }
.verify-band .lattice { color: rgba(127, 227, 216, .3); }
.batch-mock { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); backdrop-filter: blur(6px); }
.batch-mock::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: linear-gradient(180deg, transparent, rgba(var(--brand-rgb), .22), transparent); animation: t5Scan 3.6s ease-in-out infinite; pointer-events: none; }
.batch-mock .ok { color: #5eead4 !important; }
@keyframes t5Scan { 0% { top: -40%; } 60%, 100% { top: 110%; } }

/* ==========================================================================
   Inner page header: midnight with aurora glows and a fine dotted field
   ========================================================================== */
.page-hero { background: radial-gradient(120% 160% at 0% 0%, #12345c 0%, var(--navy) 55%, #08152a 100%); }
.page-hero::before { width: 640px; height: 640px; right: -160px; top: -300px; background: radial-gradient(circle, rgba(var(--brand-rgb), .55) 0%, rgba(var(--brand-rgb), 0) 65%); animation: t5DriftB 20s ease-in-out infinite alternate; }
.page-hero::after { opacity: .6; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.6px); background-size: 22px 22px; mask-image: linear-gradient(90deg, #000 0%, transparent 80%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 80%); }
.page-hero .lattice { color: rgba(127, 227, 216, .35); }
.page-hero h1 { background: linear-gradient(100deg, #ffffff 0%, #ffffff 55%, #a5f3eb 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .hero-meta i { color: #5eead4; }
.crumbs [aria-current] { color: #7fe3d8; }

/* CTA band: animated gradient panel */
.t5-cta .panel { background: linear-gradient(120deg, var(--primary-deep), var(--brand), #0b5e8e, var(--primary-deep)); background-size: 300% 300%; animation: t5Flow 14s ease infinite; box-shadow: 0 40px 70px -30px rgba(var(--brand-rgb), .55); }
.t5-cta .panel::before { content: ""; position: absolute; z-index: -1; left: -80px; bottom: -160px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--coral-rgb), .45), transparent 65%); }
.t5-cta .btn-light { color: var(--navy); }
@keyframes t5Flow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* Footer: midnight with aurora and a gradient top line */
.t5-footer { background: var(--navy); }
.t5-footer::before { display: none; }
.t5-footer::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--sky), var(--coral)); }
.t5-footer .t5-aurora { z-index: -1; opacity: .35; }
.t5-footer.no-cta::after { display: block; }
.t5-footer .contact-line i { color: #5eead4; background: rgba(var(--brand-rgb), .14); }
.t5-footer .oo-social a:hover { background: var(--grad); }
.t5-footer .links a::before { background: var(--grad); }
.t5-footer .brand-word b { color: #5eead4; }

/* Floating buttons */
.contact-float .call { background: var(--grad); }
.contact-float .message { background: var(--navy); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .t5-aurora span, .t5-marquee .track, .t5-cta .panel, .batch-mock::after, .page-hero::before, .kicker::before { animation: none !important; }
  .btn-primary::after, .btn-light::after, .btn-glass::after, .btn-outline-primary::after { display: none; }
}

@media (max-width: 767.98px) {
  .t5-aurora span { filter: blur(40px); }
  .t5-marquee .track { animation-duration: 28s; }
}

/* ==========================================================================
   JMM Formulation content blocks (Home + About)
   ========================================================================== */
.t5-checks { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.5rem; }
.t5-checks li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-2); font-weight: 600; font-size: .98rem; }
.t5-checks i { color: var(--primary-color); margin-top: .2rem; }
@media (max-width: 575.98px) { .t5-checks { grid-template-columns: 1fr; } }

/* Welcome visual: midnight panel, orbiting dosage-form icons, certification badges */
.t5-visual { position: relative; isolation: isolate; aspect-ratio: 1 / 1; max-width: 540px; margin: 0 auto; border-radius: 32px; overflow: hidden; background: radial-gradient(120% 120% at 20% 10%, #15406b 0%, var(--navy) 60%); box-shadow: 0 40px 80px -40px rgba(11, 27, 52, .6); }
.t5-visual .t5-aurora { z-index: -1; opacity: .7; }
.t5-visual .ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.22); transform: translate(-50%, -50%); }
.t5-visual .ring.r1 { width: 58%; height: 58%; animation: t5Spin 40s linear infinite; }
.t5-visual .ring.r2 { width: 86%; height: 86%; border-style: solid; border-color: rgba(127, 227, 216, .14); animation: t5Spin 70s linear infinite reverse; }
.t5-visual .core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 38%; aspect-ratio: 1 / 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; background: var(--grad); box-shadow: 0 0 0 10px rgba(var(--brand-rgb), .15), 0 30px 60px -20px rgba(var(--brand-rgb), .8); }
.t5-visual .core i { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); margin-bottom: .4rem; }
.t5-visual .core strong { font-family: var(--font-display); font-size: clamp(.8rem, .7rem + .4vw, 1.05rem); line-height: 1.2; }
.t5-visual .core small { opacity: .85; font-size: .78rem; }
.t5-visual .orb { position: absolute; width: 13%; aspect-ratio: 1 / 1; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: clamp(1rem, .8rem + .6vw, 1.4rem); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); animation: floatY 6s ease-in-out infinite; }
.t5-visual .o1 { left: 12%; top: 18%; }
.t5-visual .o2 { right: 12%; top: 14%; animation-delay: -1.5s; color: #7fe3d8; }
.t5-visual .o3 { right: 6%; top: 48%; animation-delay: -3s; }
.t5-visual .o4 { left: 7%; top: 52%; animation-delay: -2s; color: #7dd3fc; }
.t5-visual .o5 { left: 44%; bottom: 6%; animation-delay: -4s; color: #ffb59f; }
.t5-visual .badge-card { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; border-radius: 16px; background: rgba(255,255,255,.95); box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); animation: floatY 7s ease-in-out infinite; }
.t5-visual .badge-card i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.t5-visual .badge-card.b2 i { background: var(--grad-warm); }
.t5-visual .badge-card b { display: block; font-family: var(--font-display); color: var(--navy); font-size: .98rem; line-height: 1.2; }
.t5-visual .badge-card small { color: var(--slate); font-size: .76rem; }
.t5-visual .b1 { left: 6%; bottom: 20%; }
.t5-visual .b2 { right: 6%; top: 30%; animation-delay: -3.5s; }
@keyframes t5Spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (max-width: 575.98px) { .t5-visual .badge-card { padding: .5rem .7rem; } .t5-visual .badge-card i { width: 32px; height: 32px; } .t5-visual .badge-card small { display: none; } }

/* Dosage-form cards */
.t5-form { position: relative; height: 100%; padding: 28px 26px 26px; border-radius: var(--r-lg); transition: transform .5s var(--ease-out), box-shadow .5s ease; }
.t5-form:hover { transform: translateY(-6px); }
.t5-form .ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 1.1rem; font-size: 1.4rem; color: var(--primary-color); background: linear-gradient(135deg, rgba(var(--brand-rgb), .14), rgba(var(--sky-rgb), .16)); transition: background .4s ease, color .4s ease, transform .5s var(--ease-out); }
.t5-form:hover .ico { background: var(--grad); color: #fff; transform: rotate(-8deg) scale(1.05); }
.t5-form h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.t5-form p { margin: 0; font-size: .95rem; line-height: 1.6; }
.t5-form-cta { background: radial-gradient(120% 120% at 0% 0%, #15406b 0%, var(--navy) 65%); color: #b8c6da; border: 0; overflow: hidden; isolation: isolate; }
.t5-form-cta::after { content: ""; position: absolute; z-index: -1; right: -60px; bottom: -80px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--brand-rgb), .6), transparent 65%); }
.t5-form-cta h3 { color: #fff; }
.t5-form-cta .ico { background: rgba(255,255,255,.1); color: #7fe3d8; }
.t5-form-cta p { margin-bottom: 1rem; }
.t5-form-cta .link-arrow { color: #fff; }
.t5-form-cta .link-arrow i { color: #7fe3d8; }

/* Process steps with a connecting gradient line */
.t5-process .row { position: relative; }
@media (min-width: 992px) {
  .t5-process .row::before { content: ""; position: absolute; left: 12%; right: 12%; top: 58px; height: 2px; background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb), .5), rgba(var(--sky-rgb), .5), transparent); }
}
.t5-step { position: relative; height: 100%; text-align: center; padding: 26px 22px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s ease; }
.t5-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.t5-step .num { position: absolute; top: 16px; right: 18px; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .55; }
.t5-step .ico { position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; color: #fff; background: var(--grad); box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line), var(--shadow-brand); }
.t5-step h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.t5-step p { margin: 0; font-size: .95rem; }

/* About: quality pillars, mission/vision, why-us */
.t5-pillar { height: 100%; padding: 32px 30px; border-radius: var(--r-lg); transition: transform .5s var(--ease-out); }
.t5-pillar:hover { transform: translateY(-6px); }
.t5-pillar .icon-chip { margin-bottom: 1.2rem; }
.t5-pillar h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.t5-pillar p { margin: 0; }
.t5-mv { position: relative; height: 100%; padding: 36px 34px; border-radius: var(--r-xl); }
.t5-mv .icon-chip { margin-bottom: 1.2rem; display: flex; }
.t5-mv p { color: var(--ink-2); line-height: 1.6; }
.t5-why { display: flex; gap: 1rem; align-items: flex-start; height: 100%; padding: 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .3s ease, transform .5s var(--ease-out), box-shadow .5s ease; }
.t5-why:hover { border-color: var(--primary-line); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.t5-why > i { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad); font-size: 1.1rem; }
.t5-why h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.t5-why p { margin: 0; font-size: .93rem; }

@media (prefers-reduced-motion: reduce) {
  .t5-visual .ring, .t5-visual .orb, .t5-visual .badge-card { animation: none !important; }
}
