/* Mega-menu / navigation styles (externalised) */
.wsmenu>.wsmenu-list>li>.wsmegamenu .link-list li {
		display: block;
		text-align: center;
		text-align: left;
		border-bottom: 1px solid #507C24;
	}

	.wsmenu>.wsmenu-list>li>.wsmegamenu.w-30 {
		width: 32%;
		left: 45%;
		padding: 20px 10px;
	}

	.wsmenu>.wsmenu-list>li>ul.sub-menu>li {
		position: relative;
		margin: 0px;
		padding: 0px;
		display: block;
		border-bottom: 1px solid #507C24;
	}

	/* ── Third-level sub-sub-menu: 2-column flyout ──────────────────── */
	.wsmenu>.wsmenu-list>li>ul.sub-menu>li>ul.sub-menu {
		min-width: 420px;
		display: none;
		position: absolute;
		left: auto;
		right: 100%;
		top: 0;
		background: #fff;
		box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
		border: 1px solid #e8f0e0;
		border-radius: 4px;
		padding: 8px 0;
		list-style: none;
		/* 2-column CSS grid */
		display: none;
		grid-template-columns: 1fr 1fr;
		gap: 0;
		z-index: 9999;
	}

	.wsmenu>.wsmenu-list>li>ul.sub-menu>li:hover>ul.sub-menu {
		display: grid !important;
	}

	.wsmenu>.wsmenu-list>li>ul.sub-menu>li>ul.sub-menu>li {
		border-bottom: 1px solid #e8f0e0 !important;
		padding: 0 !important;
		margin: 0 !important;
		break-inside: avoid;
	}

	.wsmenu>.wsmenu-list>li>ul.sub-menu>li>ul.sub-menu>li a {
		display: block;
		padding: 8px 16px;
		font-size: 16px;
		font-weight: 600;
		color: #333;
		white-space: nowrap;
		transition: background .18s, color .18s;
	}

	.wsmenu>.wsmenu-list>li>ul.sub-menu>li>ul.sub-menu>li a:hover {
		background: #f4f8f0;
		color: #507C24;
		text-decoration: none;
	}

	/* Arrow indicator on parent items that have a sub-sub-menu */
	.wsmenu>.wsmenu-list>li>ul.sub-menu>li>a .wsarrow::before {
		content: "›";
		font-size: 1.1rem;
		line-height: 1;
	}

	.wsmenu>.wsmenu-list>li>.wsmegamenu.w-70 .link-list li,
	.wsmenu>.wsmenu-list>li>.wsmegamenu.halfmenu .link-list li {
		position: relative;
		border-bottom: none;
		border-bottom: 1px solid #507C24;
	}

	.white-menu .wsmainfull {
		background-color: #fff !important;
	}

	.tra-menu .wsmainfull.scroll,
	.white-menu .wsmainfull.scroll,
	.dark-menu.dark-scroll .wsmainfull.scroll {
		background-color: #fff !important;
	}

	.white-menu .wsmenu>.wsmenu-list>li>a {
		color: #43882B;
	}

	.white-menu .wsmenu>.wsmenu-list>li:hover>a {
		color: #97BC17;
	}

	.header-top {
		padding: 0;
	}

	/* Top-bar plain links (Home, Image Gallery, Video Gallery, Payment) */
	.ha-topbar-link {
		display: inline-block;
		font-size: 1rem;
		font-weight: 500;
		color: #ffffffff !important;
		padding: 4px 10px;
		white-space: nowrap;
		transition: color .18s;
		text-decoration: none !important;
	}

	.ha-topbar-link:hover {
		color: #ffffffff !important;
		text-decoration: none !important;
	}

	.developer-btn {
		border: 1px solid #fff;
		padding: 16px 28px !important;
		font-weight: 600;
	}

	@media (max-width: 991.95px) {
		.white-menu .wsmenu>.wsmenu-list>li>a {
			color: #43882B;
		}

		.white-menu .wsmenu>.wsmenu-list>li:hover>a {
			color: #97BC17;
		}
	}

	@media (max-width: 767px) {

		.tra-menu .wsmobileheader,
		.white-menu .wsmobileheader {
			background-color: #fff;
		}

		.header-top {
			margin-bottom: 10px;
		}

		.developer-btn {
			font-size: 16px;
			padding: 7px 24px !important;
		}

		.header-top .widget {
			line-height: 2.5rem;
			margin-bottom: 0;
			font-size: 15px;
		}

		.wsmenu>.wsmenu-list>li>.wsmegamenu.w-30 {
			width: 100%;
			left: 0;
			padding: 10px 0;
		}

		.bborder-top {
			border-top: 1px solid #507C24;
		}

		/* Sub-sub-menu: single column, full width on mobile — collapsed by default (toggled by its own arrow) */
		.wsmenu>.wsmenu-list>li>ul.sub-menu>li>ul.sub-menu {
			position: static !important;
			display: none;
			grid-template-columns: 1fr !important;
			min-width: 100% !important;
			box-shadow: none !important;
			border: none !important;
			border-radius: 0 !important;
			padding: 0 !important;
			background: #f9fdf5 !important;
		}

		.wsmenu>.wsmenu-list>li>ul.sub-menu>li>ul.sub-menu>li a {
			padding-left: 28px !important;
			font-size: .85rem !important;
		}
	}

	@media (min-width: 768px) and (max-width: 991.95px) {

		.tra-menu .wsmobileheader,
		.white-menu .wsmobileheader {
			background-color: #fff;
		}

		/* Sub-sub-menu: single column on tablet */
		.wsmenu>.wsmenu-list>li>ul.sub-menu>li>ul.sub-menu {
			min-width: 260px;
			grid-template-columns: 1fr;
		}
	}

	@media (min-width: 414px) and (max-width: 479.95px) {
		.developer-btn {
			padding: 7px 24px !important;
		}
	}

	@media (min-width: 414px) and (max-width: 479.95px) {
		.developer-btn {
			font-size: 16px;
			padding: 7px 24px !important;
		}
	}

	/* === Reference header restyle === */
	.header white-menu { }
	.white-menu .wsmenu > .wsmenu-list > li > a { color: #2d4d18; font-weight: 600; }
	.white-menu .wsmenu > .wsmenu-list > li:hover > a { color: #97BC17; }
	.ha-booknow-btn { background: linear-gradient(135deg, #6ba32e, #4a7a1f) !important; color: #fff !important; border-radius: 8px !important; padding: 11px 22px !important; margin: 14px 0 0 10px !important; font-weight: 700 !important; line-height: 1 !important; display: inline-flex !important; align-items: center; gap: 8px; }
	.white-menu .wsmenu > .wsmenu-list > li:hover > a.ha-booknow-btn { color: #fff !important; background: linear-gradient(135deg, #74b033, #3c6322) !important; }
	.ha-booknow-btn i { font-size: 13px; }

	.ha-contactbar { background: #4a7a23; border-top: 1px solid rgba(80,124,36,.12); }
	.ha-contactbar-inner { display: flex; align-items: center; justify-content: center; gap: 44px; padding: 12px 0; flex-wrap: wrap; }
	.ha-cb-item { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
	.ha-cb-ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: #fff; color: #2d4d18; display: flex; align-items: center; justify-content: center; font-size: 17px; }
	.ha-cb-tx small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 1px; color: rgba(255,255,255); text-transform: uppercase; line-height: 1.4; }
	.ha-cb-tx strong { display: block; font-size: 17px; color: #fff; font-weight: 600;}
	.ha-cb-socials { display: flex; gap: 10px; }
	.ha-cb-socials a { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #2d4d18 !important; display: flex; align-items: center; justify-content: center; font-size: 15px; transition: background .2s ease, transform .2s ease; text-decoration: none !important; }
	.ha-cb-socials a:hover { background: #eef2e6; transform: translateY(-2px); }
	.ha-cb-socials a svg { width: 15px; height: 15px; display: block; }
	.ha-cb-socials a.fb { color: #1877F2 !important; }
	.ha-cb-socials a.ig { color: #E1306C !important; }
	.ha-cb-socials a.yt { color: #FF0000 !important; }
	.ha-cb-socials a.wa { color: #25D366 !important; }
	.ha-cb-socials a.li { color: #0A66C2 !important; }
	.ha-cb-socials a.xt { color: #000000 !important; }
	.ha-cb-socials a.th { color: #000000 !important; }
	.ha-cb-socials a.em { color: #EA4335 !important; }
	.ha-cb-actions { display: flex; gap: 10px; }
	.ha-cb-btn { display: inline-flex; align-items: center; gap: 7px; border-radius: 8px; padding: 9px 18px; font-weight: 700; font-size: .82rem; line-height: 1; text-decoration: none !important; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
	.ha-cb-btn.solid { background: #fff; color: #2d4d18 !important; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
	.ha-cb-btn.solid:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.2); }
	.ha-cb-btn.ghost { background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,.7); }
	.ha-cb-btn.ghost:hover { background: #fff; color: #2d4d18 !important; border-color: #fff; }
	.ha-cb-btn i { font-size: 12px; }

	/* Pay Now / Book Now CTA row inside the mobile drawer — hidden on desktop */
	.wsmenu-list > li.ws-mobile-cta { display: none; }

	@media (max-width: 991px) {
		.ha-contactbar { display: none; }

		/* ── Mobile logo: left-aligned, wider, natural aspect (no forced height) ── */
		.wsmobileheader { text-align: left; height: 96px !important; }
		.smllogo { display: inline-block !important; float: left !important; width: auto !important; text-align: left !important; margin: 12px 0 0 !important; padding-left: 16px !important; }
		.smllogo img { width: 200px !important; height: auto !important; max-width: 56vw !important; }
		.wsanimated-arrow { margin-top: 40px !important; }

		/* ── Mobile drawer: make it scrollable so long/expanded menus are reachable ── */
		.wsmenu > .wsmenu-list { max-height: 100vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }

		/* Pay Now / Book Now buttons at the top of the drawer */
		.wsmenu-list > li.ws-mobile-cta { display: block !important; padding: 0 !important; border-bottom: 1px solid #e7ecdf; background: #f7faf1; }
		.ws-mobile-cta-row { display: flex; gap: 10px; padding: 12px 16px; }
		.ws-cta-btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 8px; padding: 12px 10px; font-size: .9rem; font-weight: 700; line-height: 1; text-decoration: none !important; }
		.ws-cta-btn.solid { background: linear-gradient(135deg, #6ba32e, #3c6322); color: #fff !important; }
		.ws-cta-btn.ghost { background: #fff; color: #3c6317 !important; border: 1.5px solid #6ba32e; }
		.ws-cta-btn i { font-size: 12px; }

		/* ── Normalise the Courses mega-menu (Bootstrap grid) into a clean stacked list ── */
		.wsmenu > .wsmenu-list > li > .wsmegamenu { position: static !important; width: 100% !important; min-width: 0 !important; height: auto !important; max-height: none !important; overflow: visible !important; padding: 0 !important; box-shadow: none !important; background: #f9fdf5 !important; }
		/* Desktop hover-reveal leaves the inner grid visibility:hidden on mobile — force it visible */
		.wsmenu > .wsmenu-list > li > .wsmegamenu,
		.wsmenu > .wsmenu-list > li > .wsmegamenu * { visibility: visible !important; opacity: 1 !important; }
		.wsmenu > .wsmenu-list > li > .wsmegamenu .container { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
		.wsmenu > .wsmenu-list > li > .wsmegamenu .row { margin: 0 !important; }
		.wsmenu > .wsmenu-list > li > .wsmegamenu [class*="col-"] { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; padding: 0 !important; }
		.wsmenu > .wsmenu-list > li > .wsmegamenu .link-list { padding: 0 !important; }
		.wsmenu > .wsmenu-list > li > .wsmegamenu .link-list li { border-bottom: 1px solid #e3ead6 !important; }
		.wsmenu > .wsmenu-list > li > .wsmegamenu a,
		.wsmenu > .wsmenu-list > li > .wsmegamenu .link-list li a { display: block !important; color: #3c6322 !important; font-size: .92rem !important; font-weight: 600 !important; padding: 12px 16px 12px 30px !important; line-height: 1.3 !important; white-space: normal !important; }
		.wsmenu > .wsmenu-list > li > .wsmegamenu a:hover { background: #eef5e5 !important; color: #2d4d18 !important; }
		.wsmenu > .wsmenu-list > li > .wsmegamenu .title,
		.wsmenu > .wsmenu-list > li > .wsmegamenu h4 { padding: 10px 16px !important; margin: 0 !important; font-size: .8rem !important; text-transform: uppercase; letter-spacing: .5px; color: #7a8366 !important; }

		/* ── Second-level sub-menus: indent for hierarchy, soft dividers, group tint ── */
		/* Reset the desktop dropdown fold animation (transform squashes items on mobile) */
		.wsmenu > .wsmenu-list li ul.sub-menu { transform: none !important; -webkit-transform: none !important; }
		/* Remove the inline "›" flyout arrow next to sub-menu item names (the right-side toggle stays) */
		.wsmenu > .wsmenu-list li ul.sub-menu .wsarrow { display: none !important; }
		.wsmenu > .wsmenu-list > li > ul.sub-menu { background: #fafcf6 !important; border-left: 3px solid #dbe7c6 !important; }
		/* Desktop hover-reveal leaves items visibility:hidden on mobile — force visible */
		.wsmenu > .wsmenu-list > li > ul.sub-menu,
		.wsmenu > .wsmenu-list > li > ul.sub-menu * { visibility: visible !important; opacity: 1 !important; }
		.wsmenu > .wsmenu-list > li > ul.sub-menu > li { border-bottom: 1px solid #eaeee2 !important; }
		.wsmenu > .wsmenu-list > li > ul.sub-menu > li > a { display: block !important; padding: 12px 16px 12px 34px !important; color: #556149 !important; font-size: .92rem !important; font-weight: 600 !important; line-height: 1.3 !important; }
		.wsmenu > .wsmenu-list > li > ul.sub-menu > li > a:hover { color: #2d4d18 !important; background: #eef5e5 !important; }
		/* Third-level sub-sub-menus: indent deeper */
		.wsmenu > .wsmenu-list > li > ul.sub-menu > li > ul.sub-menu { background: #f4f8ec !important; border-left: 0 !important; }
		.wsmenu > .wsmenu-list > li > ul.sub-menu > li > ul.sub-menu > li > a { display: block !important; padding: 11px 16px 11px 50px !important; font-size: .88rem !important; line-height: 1.3 !important; }
	}
	@media (max-width: 479.95px) {
		.developer-btn { font-size: 16px; padding: 7px 24px !important; }
	}
