/* ==========================================================================
   JDR Health Care – main styles
   ========================================================================== */

:root {
	--blue: #0d3f94;
	--blue-700: #0a3278;
	--blue-900: #062559;
	--blue-50: #eef4fc;
	--blue-100: #dbe7f8;
	--red: #e31b23;
	--red-700: #bf1219;
	--ink: #13203a;
	--muted: #4a5873;
	--line: #e3e9f3;
	--white: #fff;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(13, 63, 148, .10);
	--shadow-sm: 0 4px 14px rgba(13, 63, 148, .08);
	--font: "Poppins", "Noto Sans Tamil", "Noto Sans Sinhala", system-ui, -apple-system, "Segoe UI", sans-serif;
	--container: 1200px;
}

/* Tamil and Sinhala pages: native fonts first, slightly more line height. */
.lang-ta { --font: "Noto Sans Tamil", "Poppins", system-ui, sans-serif; }
.lang-si { --font: "Noto Sans Sinhala", "Poppins", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: #fff;
	overflow-x: hidden;
}
.lang-ta, .lang-si { line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--blue); }
.lang-ta h1, .lang-ta h2, .lang-ta h3,
.lang-si h1, .lang-si h2, .lang-si h3 { line-height: 1.35; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
.jdr-icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .55em;
	padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent;
	font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer;
	transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
	font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn .jdr-icon { width: 1.1em; height: 1.1em; transition: transform .15s ease; }
.btn:hover .jdr-icon { transform: translateX(3px); }
.btn--red, .btn--red:hover { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(227, 27, 35, .28); }
.btn--red:hover { background: var(--red-700); }
.btn--blue, .btn--blue:hover { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(13, 63, 148, .25); }
.btn--blue:hover { background: var(--blue-700); }
.btn--outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--red); }
.btn--lg { padding: .85em 1.7em; font-size: 1.05rem; }
.btn--sm { padding: .55em 1.2em; font-size: .88rem; }

/* ---------- Top info bar ---------- */
.topbar { background: var(--blue-900); color: #cfdcf3; font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar__info { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar__info li { display: flex; align-items: center; gap: 7px; }
.topbar__info a { color: #cfdcf3; display: inline-flex; align-items: center; gap: 7px; }
.topbar__info a:hover { color: #fff; }
.topbar__info .jdr-icon { width: 15px; height: 15px; color: #ff6b70; }
.topbar__open { color: #fff; font-weight: 600; }
.topbar__dot { width: 8px; height: 8px; border-radius: 50%; background: #2ee07a; box-shadow: 0 0 0 0 rgba(46, 224, 122, .7); animation: jdr-pulse 2s infinite; }
@keyframes jdr-pulse { 70% { box-shadow: 0 0 0 8px rgba(46, 224, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 224, 122, 0); } }
.topbar__right { display: flex; align-items: center; gap: 12px; }
.topbar__social { color: #cfdcf3; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.topbar__social:hover { background: var(--red); color: #fff; }
.topbar__social .jdr-icon { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97);
	box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(8px);
	transition: box-shadow .25s ease;
}
.is-scrolled .site-header { box-shadow: 0 8px 28px rgba(13, 63, 148, .12); }
.site-header__inner { position: relative; display: flex; align-items: center; gap: 20px; min-height: 86px; transition: min-height .25s ease; }
.is-scrolled .site-header__inner { min-height: 70px; }

/* Brand: JDr mark + wordmark */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); flex-shrink: 0; }
.brand:hover { color: var(--blue); }
.brand__mark { height: 58px; width: auto; transition: height .25s ease; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .12)); }
.is-scrolled .brand--header .brand__mark { height: 48px; }
.brand__custom { height: 60px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; font-family: "Poppins", sans-serif; }
.brand__name { font-size: 1.12rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; color: var(--blue); }
.brand__name b { font-weight: 800; font-size: 1.3em; letter-spacing: 0; }
.brand__name i { font-style: normal; color: var(--red); }
.brand__tag { font-size: .7rem; color: var(--muted); font-style: italic; margin-top: 3px; white-space: nowrap; }
.lang-ta .brand__tag { font-family: "Noto Sans Tamil", sans-serif; }
.lang-si .brand__tag { font-family: "Noto Sans Sinhala", sans-serif; }

/* Desktop nav */
.main-nav { margin-left: auto; }
.nav { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
	position: relative; display: flex; align-items: center; gap: 7px; padding: 10px 12px;
	color: var(--ink); font-weight: 500; font-size: .94rem; border-radius: 10px; white-space: nowrap;
	transition: color .2s ease, background .2s ease;
}
.nav__icon { width: 17px; height: 17px; color: var(--blue); opacity: .75; transition: transform .2s ease, opacity .2s; }
.nav__chev { width: 14px; height: 14px; opacity: .6; transition: transform .25s ease; }
.nav__link::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px; border-radius: 3px;
	background: linear-gradient(90deg, var(--red), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__item:hover > .nav__link, .nav__item:focus-within > .nav__link { color: var(--blue); background: var(--blue-50); }
.nav__item:hover > .nav__link::after, .nav__item.is-current > .nav__link::after { transform: scaleX(1); }
.nav__item:hover .nav__icon { transform: scale(1.12); opacity: 1; }
.nav__item:hover > .nav__link .nav__chev, .nav__item:focus-within > .nav__link .nav__chev { transform: rotate(180deg); }
.nav__item.is-current > .nav__link { color: var(--blue); font-weight: 700; }
.nav__item.is-current .nav__icon { opacity: 1; color: var(--red); }

/* Dropdowns */
.drop {
	position: absolute; top: 100%; left: 0; padding-top: 12px; min-width: 300px;
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
	z-index: 60;
}
.nav__item:hover > .drop, .nav__item:focus-within > .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop__list {
	list-style: none; margin: 0; padding: 10px; background: #fff; border-radius: 16px;
	box-shadow: 0 22px 50px rgba(6, 37, 89, .18); border-top: 3px solid var(--red);
}
.drop__list a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--ink); }
.drop__list a:hover { background: var(--blue-50); color: var(--blue); }
.drop__icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); transition: background .2s, color .2s; }
.drop__icon .jdr-icon { width: 19px; height: 19px; }
.drop__list a:hover .drop__icon { background: var(--blue); color: #fff; }
.drop__list li:nth-child(even) .drop__icon { background: #fdecec; color: var(--red); }
.drop__list li:nth-child(even) a:hover .drop__icon { background: var(--red); color: #fff; }
.drop__text { display: flex; flex-direction: column; line-height: 1.3; }
.drop__text b { font-weight: 600; font-size: .92rem; }
.drop__text small { color: var(--muted); font-size: .78rem; margin-top: 2px; }

/* Services mega menu */
.nav__item.has-mega { position: static; }
.drop--mega { left: 20px; right: 20px; min-width: 0; }
.mega {
	display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border-radius: 18px; overflow: hidden;
	box-shadow: 0 26px 60px rgba(6, 37, 89, .2); border-top: 3px solid var(--red);
}
.mega__main { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 20px; }
.mega__card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.mega__card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.mega__card b { display: block; font-size: .98rem; color: var(--blue); margin-bottom: 2px; }
.mega__card--red b { color: var(--red); }
.mega__card small { color: var(--muted); font-size: .8rem; line-height: 1.4; display: block; }
.mega__badge { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--blue); }
.mega__card--red .mega__badge { background: var(--red); }
.mega__badge .jdr-icon { width: 22px; height: 22px; }
.mega__care { background: linear-gradient(160deg, var(--blue-50), #fff); padding: 20px 22px; display: flex; flex-direction: column; }
.mega__heading { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin: 0 0 10px; }
.lang-ta .mega__heading, .lang-si .mega__heading { letter-spacing: 0; font-size: .82rem; }
.mega__care ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.mega__care li a { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 9px; color: var(--ink); font-size: .87rem; line-height: 1.3; }
.mega__care li a .jdr-icon { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.mega__care li a:hover { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.mega__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--blue-100); flex-wrap: wrap; }
.mega__all { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }
.mega__all .jdr-icon { width: 16px; height: 16px; }
.mega__call { display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 12px; font-weight: 700; }
.mega__call:hover { color: #fff; background: var(--red-700); }
.mega__call small { display: block; font-size: .7rem; font-weight: 500; opacity: .9; }
.mega__call span { line-height: 1.2; }

/* Header actions */
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__actions .lang-switch--header { display: none; }
.btn--call { padding: .45em 1.1em .45em .45em; gap: .6em; }
.btn--call__ring { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; animation: jdr-ring 2.4s ease-in-out infinite; }
.btn--call__ring .jdr-icon { width: 17px; height: 17px; }
.btn:hover .btn--call__ring .jdr-icon { transform: none; }
@keyframes jdr-ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } 80% { transform: rotate(14deg); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(8deg); } }
.btn--call__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn--call__text small { font-size: .68rem; font-weight: 500; opacity: .92; white-space: nowrap; }
.btn--call__text { white-space: nowrap; }
.btn--wa, .btn--wa:hover { background: #25d366; color: #fff; }

/* Hamburger */
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--blue); cursor: pointer; place-items: center; }
.nav-toggle__bars { display: grid; gap: 5px; width: 22px; }
.nav-toggle__bars i { display: block; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .25s ease, opacity .2s; }
.nav-toggle__bars i:nth-child(2) { width: 70%; margin-left: auto; }
.nav-open .nav-toggle__bars i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer-overlay { position: fixed; inset: 0; background: rgba(6, 20, 50, .55); z-index: 90; opacity: 0; transition: opacity .3s ease; }
.nav-open .drawer-overlay { opacity: 1; }
.drawer {
	position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 90vw); z-index: 100; background: #fff;
	display: flex; flex-direction: column; transform: translateX(105%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
	box-shadow: -20px 0 50px rgba(6, 20, 50, .25); overflow-y: auto; visibility: hidden;
}
.nav-open .drawer { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--blue-50), #fff); }
.drawer__head .brand__mark { height: 46px; }
.drawer__close { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.drawer__lang { padding: 14px 16px 6px; }
.drawer__lang .lang-switch { width: 100%; justify-content: space-between; }
.drawer__nav { list-style: none; margin: 0; padding: 8px 12px; }
.drawer__item { opacity: 0; transform: translateX(24px); transition: opacity .3s ease, transform .3s ease; transition-delay: calc(var(--i) * 45ms + 80ms); }
.nav-open .drawer__item { opacity: 1; transform: none; }
.drawer__row { display: flex; align-items: center; border-radius: 14px; }
.drawer__row > a { flex: 1; display: flex; align-items: center; gap: 12px; padding: 11px 10px; color: var(--ink); font-weight: 600; font-size: 1.02rem; }
.drawer__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex-shrink: 0; }
.drawer__icon .jdr-icon { width: 20px; height: 20px; }
.drawer__item.is-current .drawer__row { background: var(--blue-50); }
.drawer__item.is-current .drawer__icon { background: var(--blue); color: #fff; }
.drawer__item.is-current .drawer__row > a { color: var(--blue); }
.drawer__toggle { width: 42px; height: 42px; border: 0; background: none; color: var(--blue); border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.drawer__toggle .jdr-icon { transition: transform .25s ease; }
.drawer__toggle[aria-expanded="true"] .jdr-icon { transform: rotate(180deg); }
.drawer__toggle:hover { background: var(--blue-50); }
.drawer__sub { list-style: none; margin: 2px 0 8px 30px; padding: 4px 0 4px 18px; border-left: 2px solid var(--blue-100); }
.drawer__sub a { display: flex; align-items: center; gap: 10px; padding: 8px 6px; color: var(--muted); font-size: .92rem; line-height: 1.35; border-radius: 8px; }
.drawer__sub a .jdr-icon { width: 17px; height: 17px; color: var(--red); flex-shrink: 0; }
.drawer__sub a:hover { color: var(--blue); background: var(--blue-50); }
.drawer__foot { margin-top: auto; padding: 18px 16px 24px; background: var(--blue-900); color: #fff; display: grid; gap: 10px; }
.drawer__foot p { margin: 0 0 4px; font-weight: 600; }
.drawer__foot .btn { justify-content: center; }
body.nav-open { overflow: hidden; }

/* ---------- Language switcher ---------- */
.lang-switch { display: inline-flex; align-items: center; }
.lang-switch__link[lang="ta-LK"] { font-family: "Noto Sans Tamil", sans-serif; }
.lang-switch__link[lang="si-LK"] { font-family: "Noto Sans Sinhala", sans-serif; }

.lang-switch--header { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 999px; padding: 3px; }
.lang-switch--header .lang-switch__link { min-width: 34px; text-align: center; padding: 5px 9px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--blue); line-height: 1.3; }
.lang-switch--header .lang-switch__link.is-active { background: var(--blue); color: #fff; }

.lang-switch--topbar { gap: 2px; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 3px 3px 3px 10px; }
.lang-switch--topbar .lang-switch__globe { color: #ff6b70; width: 16px; height: 16px; margin-right: 4px; }
.lang-switch--topbar .lang-switch__link { padding: 3px 12px; border-radius: 999px; color: #cfdcf3; font-weight: 600; font-size: .82rem; line-height: 1.4; }
.lang-switch--topbar .lang-switch__link:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.lang-switch--topbar .lang-switch__link.is-active { background: var(--red); color: #fff; }

.lang-switch--hero {
	gap: 6px; background: #fff; border-radius: 999px; padding: 5px 6px 5px 12px;
	box-shadow: var(--shadow-sm); border: 1px solid var(--line); flex-wrap: wrap;
}
.lang-switch__globe { color: var(--blue); width: 20px; height: 20px; margin-right: 2px; }
.lang-switch--hero .lang-switch__link { padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--blue); line-height: 1.3; }
.lang-switch--hero .lang-switch__link.is-active { background: var(--red); color: #fff; }
.lang-switch--hero .lang-switch__link:not(.is-active):hover { background: var(--blue-50); }

/* ---------- Page tabs (inner pages menu) ---------- */
.page-tabs { position: relative; z-index: 3; margin-top: -30px; }
.page-tabs__list {
	list-style: none; margin: 0; padding: 8px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
	background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.page-tabs__list::-webkit-scrollbar { display: none; }
.page-tabs__list li { flex: 1 0 auto; }
.page-tabs__link {
	display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border-radius: 12px;
	color: var(--muted); font-weight: 600; font-size: .92rem; white-space: nowrap; transition: background .2s, color .2s;
}
.page-tabs__link .jdr-icon { width: 18px; height: 18px; }
.page-tabs__link:hover { background: var(--blue-50); color: var(--blue); }
.page-tabs__link.is-current { background: linear-gradient(135deg, var(--blue), var(--blue-700)); color: #fff; box-shadow: 0 6px 16px rgba(13, 63, 148, .3); }
.page-tabs + .section { padding-top: 52px; }
.anchor { scroll-margin-top: 100px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7faff 0%, #fff 100%); }
.hero__media {
	position: absolute; inset: 0 0 0 38%;
	background: var(--hero-img) center right / cover no-repeat;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
	mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}
.hero__inner { position: relative; min-height: 560px; display: flex; align-items: center; padding-top: 40px; padding-bottom: 150px; }
.hero__content { max-width: 660px; }
.hero__content .lang-switch { margin-bottom: 22px; }
.hero__kicker { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.hero__kicker span + span::before { content: "|"; margin: 0 12px; color: var(--muted); }
.hero__title { font-size: clamp(2.4rem, 5.6vw, 4.3rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.hero__title span { display: block; }
.hero__title-a { color: var(--blue); }
.hero__title-b { color: var(--red); }
.lang-ta .hero__title, .lang-si .hero__title { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: 0; }
.hero__text { font-size: 1.15rem; color: var(--ink); max-width: 470px; margin-bottom: 26px; }

/* ---------- Service cards ---------- */
.service-cards { position: relative; margin-top: -120px; z-index: 2; }
.service-cards__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
	display: flex; flex-direction: column; border: 1px solid var(--line);
	transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(13, 63, 148, .16); }
.service-card__img { position: relative; aspect-ratio: 4 / 3; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card__badge {
	position: absolute; left: 16px; bottom: -30px; width: 64px; height: 64px; border-radius: 50%;
	display: grid; place-items: center; color: #fff; border: 4px solid #fff; box-shadow: var(--shadow-sm);
}
.service-card__badge .jdr-icon { width: 30px; height: 30px; }
.service-card--blue .service-card__badge { background: var(--blue); }
.service-card--red .service-card__badge { background: var(--red); }
.service-card__body { padding: 40px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.service-card__title { font-size: 1.35rem; font-weight: 700; }
.service-card--red .service-card__title { color: var(--red); }
.service-card__body p { color: var(--muted); flex: 1; }
.service-card__body .btn { align-self: center; }
.lang-ta .service-card__title, .lang-si .service-card__title { font-size: 1.15rem; }

/* ---------- Care strip ---------- */
.care-strip { padding: 36px 0 44px; }
.care-strip__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.care-strip__list a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; color: var(--blue); font-size: .85rem; font-weight: 500; line-height: 1.3; }
.care-strip__icon {
	width: 64px; height: 64px; border-radius: 50%; background: var(--blue-50); color: var(--blue);
	display: grid; place-items: center; border: 1px solid var(--blue-100); transition: background .2s, color .2s;
}
.care-strip__icon .jdr-icon { width: 30px; height: 30px; }
.care-strip__list a:hover .care-strip__icon { background: var(--blue); color: #fff; }
.lang-ta .care-strip__list a, .lang-si .care-strip__list a { font-size: .78rem; }

/* ---------- Why choose ---------- */
.why { background: linear-gradient(90deg, var(--blue-900) 0%, var(--blue) 45%, var(--blue) 100%); color: #fff; }
.why__inner { display: grid; grid-template-columns: 1.1fr 1fr 1fr; max-width: 1400px; margin: 0 auto; min-height: 340px; }
.why__list { padding: 40px 32px 40px max(20px, calc((100vw - var(--container)) / 2 + 20px)); }
.why__title { color: #fff; font-size: 1.75rem; }
.why__photo { background-size: cover; background-position: center; min-height: 260px; }
.why__vm { background: #f3f7fd; color: var(--ink); padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.vm-item { display: flex; gap: 16px; align-items: flex-start; }
.vm-item + .vm-item { border-top: 1px solid var(--line); padding-top: 22px; }
.vm-item h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.vm-item p { margin: 0; color: var(--muted); font-size: .93rem; }
.vm-item__icon { color: var(--blue); flex-shrink: 0; }
.vm-item__icon .jdr-icon { width: 40px; height: 40px; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .jdr-icon {
	width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--blue); color: #fff; margin-top: 2px; stroke-width: 3;
}
.check-list--light .jdr-icon { background: #fff; color: var(--blue); }

/* ---------- Stats ---------- */
.stats { padding: 30px 0; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { display: flex; align-items: center; gap: 14px; padding: 8px 18px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__icon { width: 46px; height: 46px; color: var(--blue); }
.stat__icon--red { color: var(--red); }
.stat div { display: flex; flex-direction: column; line-height: 1.25; }
.stat strong { font-size: 1.6rem; color: var(--blue); font-weight: 800; }
.stat b { color: var(--blue); font-weight: 700; }
.stat small { color: var(--muted); font-size: .85rem; }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--red); color: #fff; overflow: hidden; }
.cta__blue { background: var(--blue); border-radius: 0 60px 60px 0; position: relative; z-index: 1; }
.cta__left {
	display: flex; align-items: center; gap: 20px; padding: 44px 30px;
	padding-left: max(20px, calc((100vw - var(--container)) / 2 + 20px));
}
.cta__title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0; max-width: 420px; }
.cta__pulse { width: 220px; flex-shrink: 0; }
.cta__red { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 36px 24px; text-align: center; background: linear-gradient(135deg, var(--red) 0%, var(--red-700) 100%); }
.cta__red p { margin: 0; }

/* ---------- Inner pages ---------- */
.page-hero {
	background: linear-gradient(120deg, var(--blue-900), var(--blue) 70%);
	color: #fff; padding: 52px 0 76px; position: relative; overflow: hidden;
}
.page-hero::after {
	content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
	border-radius: 50%; border: 40px solid rgba(227, 27, 35, .55);
}
.page-hero__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.page-hero__icon { width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); transform: rotate(-6deg); margin-right: 140px; }
.page-hero__icon .jdr-icon { width: 44px; height: 44px; }
.page-hero__title { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; }
.breadcrumb { font-size: .9rem; margin-bottom: 8px; opacity: .9; display: flex; gap: 8px; }
.breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.section { padding: 64px 0; }
.section--tint { background: var(--blue-50); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-title--center { text-align: center; margin-bottom: 32px; }
.lead { font-size: 1.12rem; color: var(--ink); }
.lead--center { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 24px; }
.pill {
	display: inline-flex; align-items: center; gap: 6px; background: #fdecec; color: var(--red);
	font-weight: 600; font-size: .85rem; padding: 5px 14px; border-radius: 999px; margin-bottom: 12px;
}

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.split--even { grid-template-columns: 1fr 1fr; align-items: stretch; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split__text .check-list { margin-top: 20px; }

.vm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); border-top: 5px solid var(--blue); }
.vm-card--red { border-top-color: var(--red); }
.vm-card--red .vm-item__icon { color: var(--red); }
.vm-card h2 { margin-top: 12px; font-size: 1.4rem; }
.vm-card p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { text-align: center; padding: 28px 20px; border-radius: var(--radius); border: 1px solid var(--line); }
.value__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blue-50); color: var(--blue); margin-bottom: 12px; }
.value__icon .jdr-icon { width: 30px; height: 30px; }
.value:nth-child(even) .value__icon { background: #fdecec; color: var(--red); }
.value h3 { font-size: 1.15rem; }
.value p { color: var(--muted); margin: 0; font-size: .95rem; }

.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 28px 0; scroll-margin-top: 110px; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature--flip .feature__media { order: 2; }
.feature__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; margin-bottom: 12px; }
.feature__icon .jdr-icon { width: 28px; height: 28px; }
.feature__icon--blue { background: var(--blue); }
.feature__icon--red { background: var(--red); }
.feature__text p:not(.lead) { color: var(--muted); }

.care-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.care-card { background: #fff; border-radius: var(--radius); padding: 24px 18px; text-align: center; box-shadow: var(--shadow-sm); scroll-margin-top: 110px; }
.care-card .care-strip__icon { margin: 0 auto 12px; }
.care-card h3 { font-size: 1rem; }
.care-card p { font-size: .88rem; color: var(--muted); margin: 0; }
.care-card:target { outline: 3px solid var(--red); }

.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.course { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 20px 22px; box-shadow: var(--shadow-sm); border-left: 5px solid var(--red); }
.course:nth-child(even) { border-left-color: var(--blue); }
.course__num { position: absolute; top: 14px; right: 16px; font-size: 2rem; font-weight: 800; color: var(--blue-100); line-height: 1; }
.course__icon { color: var(--blue); width: 34px; height: 34px; margin-bottom: 10px; }
.course h3 { font-size: 1.02rem; color: var(--ink); margin: 0; }

.admission { background: linear-gradient(135deg, var(--red), var(--red-700)); color: #fff; border-radius: var(--radius); padding: 36px; }
.admission h2 { color: #fff; }
.admission__icon { width: 48px; height: 48px; margin-bottom: 12px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.gallery-item__link { display: block; overflow: hidden; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { padding: 10px 14px; font-weight: 600; color: var(--blue); font-size: .95rem; }

.lightbox { position: fixed; inset: 0; background: rgba(6, 20, 50, .9); display: grid; place-items: center; z-index: 200; padding: 20px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; border-radius: 10px; }

.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li div { display: flex; flex-direction: column; }
.contact-list b { color: var(--blue); }
.contact-list__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.contact-form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; display: grid; gap: 16px; border-top: 5px solid var(--red); scroll-margin-top: 110px; }
.contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: .93rem; }
.contact-form input, .contact-form textarea {
	width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #c9d5e8; border-radius: 10px; background: #fbfdff;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); outline: 2px solid var(--blue-100); }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: 12px 16px; border-radius: 10px; margin: 0; font-weight: 500; }
.form-msg--ok { background: #e7f6ec; color: #17693a; }
.form-msg--err { background: #fdecec; color: var(--red-700); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

.entry-content { max-width: 860px; }
.entry-content img { border-radius: 10px; }
.entry-content .wp-block-gallery { gap: 12px; }
.post-item + .post-item { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.notfound { text-align: center; }
.notfound__code { font-size: 6rem; font-weight: 800; color: var(--red); margin: 0; line-height: 1; }


/* ---------- Poster slideshow (ads) ---------- */
.media-row {
	position: relative; overflow: hidden; padding: 64px 0;
	background:
		radial-gradient(circle at 12% 20%, rgba(227, 27, 35, .35), transparent 38%),
		radial-gradient(circle at 90% 85%, rgba(255, 255, 255, .10), transparent 40%),
		linear-gradient(135deg, var(--blue-900), var(--blue) 70%);
	color: #fff;
}
.media-row::before {
	content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
	background-image: radial-gradient(#fff 1.2px, transparent 1.2px); background-size: 22px 22px;
}
.ads__kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: .82rem; font-weight: 600; letter-spacing: .03em; }
.ads__dot { width: 8px; height: 8px; border-radius: 50%; background: #ffd23f; box-shadow: 0 0 0 0 rgba(255, 210, 63, .7); animation: jdr-pulse 2s infinite; }
.ads__title { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 18px; }
.ads__captions { min-height: 6.2em; }
.ads__caption { margin: 0; font-size: 1.08rem; line-height: 1.6; color: #e3ebfa; animation: ads-in .45s ease; }
@keyframes ads-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ads__controls { display: flex; align-items: center; gap: 10px; margin: 22px 0 18px; }
.ads__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.ads__btn:hover { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.ads__btn .jdr-icon { width: 20px; height: 20px; }
.ads__btn--toggle { margin-left: auto; width: 40px; height: 40px; }
.ads__btn--toggle .jdr-icon { width: 15px; height: 15px; }
.ads__i-play { display: none; }
.ads.is-paused .ads__i-play { display: block; }
.ads.is-paused .ads__i-pause { display: none; }
.ads__count { font-weight: 600; font-size: .95rem; min-width: 52px; text-align: center; }
.ads__count b { font-size: 1.4rem; }
.ads__thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.ads__thumb { width: 62px; height: 76px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid rgba(255, 255, 255, .25); background: #fff; cursor: pointer; opacity: .6; transition: opacity .2s, transform .2s, border-color .2s; }
.ads__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ads__thumb:hover { opacity: .9; }
.ads__thumb.is-active { opacity: 1; border-color: #ffd23f; transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }
.ads__hint { display: flex; align-items: center; gap: 6px; margin: 16px 0 0; font-size: .85rem; color: #b9c9e8; }
.ads__hint .jdr-icon { width: 16px; height: 16px; }
.ads--single .ads__controls, .ads--single .ads__thumbs { display: none; }

.ads__stage {
	position: relative; height: clamp(420px, 46vw, 640px); border-radius: 26px; overflow: hidden;
	background: #0b1f45; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); border: 6px solid rgba(255, 255, 255, .12);
}
.ads__progress { position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 3; background: rgba(255, 255, 255, .15); }
.ads__progress i { display: block; height: 100%; background: linear-gradient(90deg, #ffd23f, var(--red)); transform: scaleX(0); transform-origin: left; }
.ads.is-paused .ads__progress { opacity: 0; }
.ads__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.ads__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.ads__bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(24px) brightness(.55) saturate(1.2); transform: scale(1.1); }
.ads__link { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 22px; cursor: zoom-in; }
.ads__link img {
	max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .45); transform: scale(.97); transition: transform .8s ease;
}
.ads__slide.is-active .ads__link img { transform: scale(1); }
.ads__link:hover img { transform: scale(1.01); }

/* Side-by-side row: news card + YouTube card */
.media-row__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.media-row--one .media-row__grid { grid-template-columns: minmax(0, 1fr); max-width: 920px; }
.news-card, .yt-card {
	position: relative; border-radius: 24px; padding: 24px; background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); backdrop-filter: blur(6px);
}
.news-card { display: flex; flex-direction: column; gap: 14px; }
.news-card__head { display: flex; align-items: center; gap: 14px; }
.card-logo { width: 62px; height: auto; background: #fff; border-radius: 16px; padding: 6px 7px; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); flex-shrink: 0; }
.news-card .ads__kicker { margin-bottom: 4px; }
.news-card .ads__title { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.news-card .ads__stage { height: clamp(380px, 36vw, 520px); }
.news-card .ads__captions { min-height: 3.3em; }
.news-card .ads__caption { font-size: .98rem; }
.news-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.news-card .ads__controls { margin: 0; }
.news-card .ads__thumb { width: 50px; height: 62px; }
.news-card .ads__hint { margin: 0; }
.ads__btn--side { position: absolute; top: 50%; z-index: 3; margin-top: -23px; background: rgba(6, 37, 89, .55); backdrop-filter: blur(4px); }
.ads__btn--prev { left: 12px; }
.ads__btn--next { right: 12px; }

.yt-card { display: flex; flex-direction: column; background: linear-gradient(160deg, rgba(20, 20, 20, .92), rgba(60, 10, 14, .92)); color: #fff; overflow: hidden; }
.yt-card .yt__title { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 4px; }
.yt-card .yt__card { margin: 12px 0 8px; }
.yt-card .yt__avatar { width: 58px; height: 58px; }
.yt-card .yt__text { font-size: .95rem; margin-bottom: 14px; }
.yt-card .yt__latest { color: #ff8a8a; margin-bottom: 8px; }
.yt-mini { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: background .2s; }
.yt-mini:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.yt-mini__thumb { position: relative; flex-shrink: 0; width: 148px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.yt-mini__thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-mini .yt__play { width: 38px; height: 27px; margin: -13.5px 0 0 -19px; border-radius: 8px; }
.yt-mini .yt__play .jdr-icon { width: 15px; height: 15px; }
.yt-mini__title { font-size: .9rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.yt__embed--small { border-radius: 12px; box-shadow: none; }
.yt-card .yt__actions { padding-top: 18px; }

/* ---------- YouTube ---------- */
.yt { padding: 64px 0; background: linear-gradient(180deg, #fff, var(--blue-50)); }
.yt__inner { display: grid; grid-template-columns: .8fr 1.5fr; gap: 44px; align-items: center; }
.yt__channel { background: linear-gradient(150deg, #1a1a1a, #2b0d0f); color: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.yt__channel::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 0, 0, .25); filter: blur(10px); }
.yt__kicker { display: inline-flex; align-items: center; gap: 8px; color: #ff4e4e; font-weight: 700; font-size: .85rem; margin: 0 0 8px; }
.yt__kicker .jdr-icon { width: 22px; height: 22px; }
.yt__title { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.yt__card { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; margin: 18px 0 14px; color: #fff; }
.yt__card:hover { color: #fff; }
.yt__avatar { width: 68px; height: 68px; border-radius: 50%; background: #fff; display: grid; place-items: center; border: 3px solid #ff0000; flex-shrink: 0; overflow: hidden; }
.yt__avatar img { width: 82%; height: auto; }
.yt__meta { display: flex; flex-direction: column; }
.yt__meta b { font-size: 1.15rem; }
.yt__meta small { color: #c9c9c9; }
.yt__text { position: relative; z-index: 1; color: #d6d6d6; }
.yt__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn--yt, .btn--yt:hover { background: #ff0000; color: #fff; box-shadow: 0 6px 16px rgba(255, 0, 0, .3); }
.btn--yt:hover { background: #cc0000; }
.yt__latest { font-weight: 700; color: var(--blue); margin: 0 0 12px; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
.lang-ta .yt__latest, .lang-si .yt__latest { letter-spacing: 0; }
.yt__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: auto; gap: 14px; }
.yt__video { display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.yt__video--main { grid-row: span 2; }
.yt__thumb { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: var(--shadow-sm); }
.yt__video--main .yt__thumb { aspect-ratio: auto; height: 100%; min-height: 230px; }
.yt__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.yt__video:hover .yt__thumb img { transform: scale(1.06); }
.yt__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 40px; margin: -20px 0 0 -28px; border-radius: 12px; background: #ff0000; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); transition: transform .2s; }
.yt__video:not(.yt__video--main) .yt__play { width: 42px; height: 30px; margin: -15px 0 0 -21px; border-radius: 9px; }
.yt__play .jdr-icon { width: 20px; height: 20px; }
.yt__video:hover .yt__play { transform: scale(1.12); }
.yt__vtitle { font-size: .9rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt__video--main .yt__vtitle { font-size: 1.05rem; }
.yt__video:hover .yt__vtitle { color: var(--red); }
.yt__grid--single { grid-template-columns: 1fr; }
.yt__grid--single .yt__video--main { grid-row: auto; }
.yt__grid--single .yt__thumb { aspect-ratio: 16 / 9; height: auto; min-height: 0; border-radius: 20px; box-shadow: var(--shadow); }
.yt__grid--single .yt__play { width: 76px; height: 54px; margin: -27px 0 0 -38px; border-radius: 16px; }
.yt__grid--single .yt__play .jdr-icon { width: 28px; height: 28px; }
.yt__grid--single .yt__vtitle { font-size: 1.15rem; }
.yt__embed { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.yt__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.lightbox__close { position: fixed; top: 14px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox--video { cursor: default; }
.lightbox__frame { width: min(1100px, 94vw); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox img { max-width: 94vw; }
body.has-modal { overflow: hidden; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Locations ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.loc-card {
	position: relative; background: #fff; border-radius: var(--radius); padding: 26px 22px 22px; box-shadow: var(--shadow-sm);
	border-top: 5px solid var(--blue); display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 110px;
	transition: transform .2s ease, box-shadow .2s ease;
}
.loc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.loc-card--red { border-top-color: var(--red); }
.loc-card__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; }
.loc-card--red .loc-card__icon { background: var(--red); }
.loc-card__icon .jdr-icon { width: 26px; height: 26px; }
.loc-card h3 { font-size: 1.08rem; margin: 4px 0 0; }
.loc-card p { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--muted); font-size: .93rem; }
.loc-card p .jdr-icon { width: 17px; height: 17px; color: var(--red); margin-top: 3px; }
.loc-card__phone a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.loc-card__phone a:hover { color: var(--red); }
.loc-card__dir { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }
.loc-card__dir .jdr-icon { width: 16px; height: 16px; transition: transform .2s; }
.loc-card__dir:hover .jdr-icon { transform: translateX(3px); }
.sep { color: var(--blue-100); }
.loc-line { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 18px; padding: 12px 14px; background: var(--blue-50); border-radius: 12px; font-size: .92rem; }
.loc-line__item { display: inline-flex; align-items: flex-start; gap: 7px; }
.loc-line__item .jdr-icon { width: 17px; height: 17px; color: var(--red); margin-top: 3px; flex-shrink: 0; }
.loc-line a { color: var(--ink); font-weight: 500; }
.loc-line a:hover { color: var(--red); }
.admission .loc-line { background: rgba(255, 255, 255, .14); }
.admission .loc-line a, .admission .loc-line .jdr-icon { color: #fff; }
.admission .sep { color: rgba(255, 255, 255, .5); }
.site-footer__locs li > span { display: flex; flex-direction: column; gap: 1px; }
.site-footer__locs b { color: #fff; font-weight: 600; }
.site-footer__tel { color: #fff; }
.site-footer__tel a { color: #fff; font-weight: 600; }
.site-footer__locs .sep { color: rgba(255, 255, 255, .35); }


/* ---------- Logo placements ---------- */
.page-hero__logo { position: relative; flex-shrink: 0; width: 132px; height: 112px; margin-right: 150px; display: grid; place-items: center; background: #fff; border-radius: 26px; box-shadow: 0 16px 36px rgba(0, 0, 0, .25); transform: rotate(-4deg); }
.page-hero__logo img { width: 100px; height: auto; }
.page-hero__logo-icon { position: absolute; right: -14px; bottom: -14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; border: 3px solid #fff; }
.page-hero__logo-icon .jdr-icon { width: 20px; height: 20px; }

.cta__logo { flex-shrink: 0; width: 84px; height: 84px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.cta__logo img { width: 62px; height: auto; }

.contact-form__brand { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.contact-form__brand img { width: 52px; height: auto; }
.contact-form__brand b { color: var(--blue); font-size: 1.2rem; }
.notfound__logo { width: 140px; height: auto; margin: 0 auto 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #c9d6ef; font-size: .93rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.6fr; gap: 32px; padding-top: 52px; padding-bottom: 40px; }
.site-footer__logo .brand { background: #fff; padding: 10px 16px 10px 10px; border-radius: 16px; margin-bottom: 16px; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.site-footer__logo .brand__mark { height: 50px; }
.site-footer__title { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #c9d6ef; }
.site-footer a:hover { color: #fff; }
.site-footer__links a.is-current { color: #fff; font-weight: 600; }
.site-footer__contact { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .jdr-icon { color: var(--red); margin-top: 3px; }
.site-footer__social { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.site-footer__lang .lang-switch--hero { box-shadow: none; }
.foot-yt { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); max-width: 240px; }
.foot-yt__head { display: inline-flex; align-items: center; gap: 6px; color: #fff !important; font-weight: 600; font-size: .85rem; margin-bottom: 8px; }
.foot-yt__head .jdr-icon { width: 18px; height: 18px; color: #ff4e4e; }
.foot-yt__video { display: flex; gap: 8px; align-items: flex-start; }
.foot-yt__thumb { position: relative; flex-shrink: 0; width: 96px; height: 54px; border-radius: 6px; overflow: hidden; background: #000; }
.foot-yt__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.foot-yt__video:hover .foot-yt__thumb img { opacity: 1; }
.foot-yt__play { position: absolute; left: 50%; top: 50%; width: 24px; height: 17px; margin: -8.5px 0 0 -12px; border-radius: 5px; background: #ff0000; color: #fff; display: grid; place-items: center; }
.foot-yt__play .jdr-icon { width: 10px; height: 10px; }
.foot-yt__title { font-size: .78rem; line-height: 1.35; color: #c9d6ef; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.foot-yt__video:hover .foot-yt__title { color: #fff; }
.foot-yt__sub { display: inline-block; margin-top: 8px; padding: 3px 12px; border-radius: 999px; background: #ff0000; color: #fff !important; font-size: .75rem; font-weight: 600; }
.foot-yt__sub:hover { background: #cc0000; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0; font-size: .85rem; text-align: center; }

.wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
	background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float .jdr-icon { width: 28px; height: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1480px) {
	.lang-ta .nav__icon, .lang-si .nav__icon { display: none; }
	.lang-ta .nav__link, .lang-si .nav__link { padding: 10px 9px; }
}

@media (max-width: 1320px) {
	.nav__icon { display: none; }
	.nav__link { padding: 10px 10px; }
	.lang-ta .nav__link, .lang-si .nav__link { font-size: .86rem; padding: 10px 8px; }
	.lang-ta .brand__tag, .lang-si .brand__tag { display: none; }
}

@media (max-width: 1180px) {
	.care-strip__list { grid-template-columns: repeat(5, 1fr); row-gap: 22px; }
	.main-nav { display: none; }
	.nav-toggle { display: grid; }
	.site-header__actions { margin-left: auto; }
	.site-header__actions .lang-switch--header { display: inline-flex; }
}

@media (max-width: 1024px) {
	.service-cards__grid { grid-template-columns: repeat(2, 1fr); }
	.why__inner { grid-template-columns: 1fr 1fr; }
	.why__photo { display: none; }
	.why__list { padding-left: 20px; }
	.stats__grid { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
	.stat:nth-child(4) { border-left: 0; }
	.cta { grid-template-columns: 1fr; }
	.cta__blue { border-radius: 0 0 40px 40px; }
	.cta__left { padding-left: 20px; justify-content: center; text-align: center; flex-wrap: wrap; }
	.care-grid { grid-template-columns: repeat(3, 1fr); }
	.value-grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.topbar__info li:nth-child(3) { display: none; }
	.page-hero__logo { margin-right: 60px; }
	.media-row__grid { grid-template-columns: 1fr; }
	.loc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
	.topbar { display: none; }
	.site-header__inner { min-height: 70px; gap: 8px; }
	.is-scrolled .site-header__inner { min-height: 62px; }
	.brand__mark { height: 46px; }
	.is-scrolled .brand--header .brand__mark { height: 40px; }
	.brand--header .brand__tag { display: none; }
	.brand--header .brand__name { font-size: .92rem; }
	.btn--call__text { display: none; }
	.btn--call { padding: 4px; }
	.nav-toggle { width: 42px; height: 42px; }
	.hero__media { inset: auto 0 0 0; height: 300px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 35%); mask-image: linear-gradient(180deg, transparent 0, #000 35%); }
	.hero__inner { min-height: 0; padding-top: 24px; padding-bottom: 300px; align-items: flex-start; }
	.hero__text { font-size: 1.02rem; }
	.service-cards { margin-top: -30px; }
	.service-cards__grid { grid-template-columns: 1fr; }
	.care-strip__list { grid-template-columns: repeat(3, 1fr); }
	.why__inner { grid-template-columns: 1fr; }
	.why__list { padding: 36px 20px; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.stat { padding: 8px; }
	.stat + .stat { border-left: 0; }
	.cta__pulse { width: 160px; }
	.section { padding: 48px 0; }
	.split, .split--even, .feature, .contact, .vm-cards { grid-template-columns: 1fr; gap: 28px; }
	.feature--flip .feature__media { order: 0; }
	.care-grid { grid-template-columns: repeat(2, 1fr); }
	.gallery-grid { grid-template-columns: 1fr 1fr; }
	.contact-form__row { grid-template-columns: 1fr; }
	.contact-form { padding: 22px; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.loc-grid { grid-template-columns: 1fr; }
	.media-row { padding: 40px 0; }
	.news-card, .yt-card { padding: 18px; border-radius: 20px; }
	.ads__stage { height: min(115vw, 520px); border-radius: 14px; border-width: 3px; }
	.ads__link { padding: 12px; }
	.ads__thumb { width: 50px; height: 62px; }
	.ads__thumbs { gap: 8px; }
	.yt__channel { padding: 24px; }
	.yt__grid { grid-template-columns: 1fr 1fr; }
	.yt__video--main { grid-column: 1 / -1; grid-row: auto; }
	.yt__video--main .yt__thumb { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
	.page-hero__icon { display: none; }
	.page-hero__logo { width: 84px; height: 72px; margin-right: 0; border-radius: 18px; }
	.page-hero__logo img { width: 64px; }
	.page-hero__logo-icon { width: 32px; height: 32px; right: -8px; bottom: -8px; }
	.page-hero__logo-icon .jdr-icon { width: 15px; height: 15px; }
	.cta__logo { width: 66px; height: 66px; }
	.cta__logo img { width: 48px; }
	.page-tabs__list li { flex: 0 0 auto; }
	.page-tabs__link { padding: 10px 13px; font-size: .88rem; }
}

@media (max-width: 400px) {
	.site-header__actions .lang-switch--header { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
