/* ==========================================================================
   Uniform corners — border-radius: 4px across the whole UI.
   The :not(#id):not(#id) chain raises specificity to (2,0,0) so this also wins
   over the class-level "border-radius: Npx !important" rules in the existing
   CSS (cards, pills, price tags, buttons, inputs). Change the value below to
   adjust the global corner rounding.
   ========================================================================== */
:not(#_nhs_square):not(#_nhs_square_b),
:not(#_nhs_square):not(#_nhs_square_b)::before,
:not(#_nhs_square):not(#_nhs_square_b)::after {
	border-radius: 4px !important;
}

/* ==========================================================================
   Smoothness & polish layer — Nepal Himalayas Trekking
   Additive only: keeps existing colors, layout and presentation.
   Adds consistent easing, gentle hover micro-interactions, accessible focus
   states and balanced spacing rhythm. Safe to remove without side effects.
   ========================================================================== */

:root {
	/* Brand palette (mirrors cards.css — do not change hues) */
	--nhs-blue: #065691;
	--nhs-blue-bright: #0093ff;
	--nhs-accent: #ff6922;
	--nhs-ink: #173342;

	/* Motion tokens */
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--dur-fast: 0.18s;
	--dur: 0.28s;
	--lift: -3px;
}

/* --------------------------------------------------------------------------
   1. Global interactive baseline — everything that responds to the cursor
      gets a consistent, calm transition instead of an instant snap.
   -------------------------------------------------------------------------- */
a,
button,
.btn,
.form-control,
.form-select,
input,
textarea,
select,
.badge,
.page-link,
[role="button"] {
	transition:
		color var(--dur-fast) var(--ease),
		background-color var(--dur-fast) var(--ease),
		border-color var(--dur-fast) var(--ease),
		box-shadow var(--dur) var(--ease),
		transform var(--dur) var(--ease),
		opacity var(--dur-fast) var(--ease);
}

/* Icons animate their transform/colour smoothly when their parent is hovered */
i,
svg,
.fa,
[class^="fa-"],
[class*=" fa-"] {
	transition:
		transform var(--dur-fast) var(--ease),
		color var(--dur-fast) var(--ease);
}

/* --------------------------------------------------------------------------
   2. Accessible, on-brand focus states (keyboard users only — mouse clicks
      are untouched so nothing changes visually for existing pointer flows).
   -------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--nhs-blue-bright);
	outline-offset: 2px;
	border-radius: 6px;
}

/* Softer, on-brand focus ring for text fields (replaces the harsh default). */
.form-control:focus,
.form-select:focus {
	box-shadow: 0 0 0 3px rgba(0, 147, 255, 0.16);
	border-color: var(--nhs-blue-bright);
}

/* --------------------------------------------------------------------------
   3. Buttons — a gentle lift + deepening shadow on hover. Colours unchanged.
   -------------------------------------------------------------------------- */
.btn,
.btn-primary,
.inq-btn,
.custom-trip-sect a,
.subscribe-sect .input-group-text,
.input-group-append .btn {
	will-change: transform;
}

.btn:hover,
.btn-primary:hover,
.inq-btn:hover,
.custom-trip-sect a:hover,
.subscribe-sect .input-group-text:hover,
.input-group-append .btn:hover {
	transform: translateY(var(--lift));
	box-shadow: 0 10px 22px rgba(6, 86, 145, 0.22);
}

.btn:active,
.btn-primary:active,
.inq-btn:active,
.custom-trip-sect a:active {
	transform: translateY(-1px);
	box-shadow: 0 5px 12px rgba(6, 86, 145, 0.2);
	transition-duration: 0.06s;
}

/* The pulsing hero CTA keeps its pulse but gains a smooth hover lift on top. */
.bloo:hover {
	transform: translateY(var(--lift)) scale(1.02);
}

/* --------------------------------------------------------------------------
   4. Header — contact + social icons get a subtle, springy hover.
   -------------------------------------------------------------------------- */
.top-header .info3 a,
.top-header .info4 ul li a,
.small-nav .connect a {
	display: inline-flex;
	align-items: center;
}

.top-header .info3 a:hover i,
.top-header .info4 ul li a:hover i,
.small-nav .connect a:hover i {
	transform: translateY(-2px) scale(1.12);
	color: var(--nhs-accent);
}

.viber-link:hover i,
.whatsapp-link:hover i {
	transform: translateY(-2px) scale(1.12);
}

/* Logo settles gently on hover. */
.logo img,
.small-logo img {
	transition: transform var(--dur) var(--ease-out);
}
.logo a:hover img,
.small-logo a:hover img {
	transform: scale(1.03);
}

/* Mobile hamburger reacts to touch/hover. */
.navbar-toggler {
	transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.navbar-toggler:hover i {
	transform: scale(1.1);
	color: var(--nhs-blue-bright);
}

/* --------------------------------------------------------------------------
   5. Primary menu — short orange underline (no opacity/pointer-events hover fight).
   -------------------------------------------------------------------------- */
.menu > .menu-item > a {
	position: relative;
}
.menu > .menu-item > a::after {
	content: "";
	position: absolute;
	left: 50%;
	right: auto;
	bottom: 10px;
	width: 26px;
	height: 3px;
	margin-left: -13px;
	border-radius: 2px;
	background: #f67e00;
	transform: scaleX(0);
	transform-origin: center;
	opacity: 1;
	transition: transform var(--dur) var(--ease);
}
.menu > .menu-item-has-children:hover > a::after,
.menu > .menu-item-has-children.is-open > a::after,
.menu > .menu-item-has-children:focus-within > a::after,
.menu > .current-menu-item > a::after {
	transform: scaleX(1);
}

.menu .sub-menu .menu-item > a {
	transition: color var(--dur-fast) var(--ease);
}
.menu .sub-menu:not(.sub-menu--mega) > .menu-item > a:hover {
	color: #f67e00;
}

/* Mega columns: every nested list is visible as soon as the mega opens. */
.menu > .menu-item--mega > .sub-menu--mega .sub-menu {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	pointer-events: auto !important;
	position: static !important;
	left: auto !important;
	top: auto !important;
	box-shadow: none !important;
	transition: none !important;
}

/* --------------------------------------------------------------------------
   6. Breadcrumbs & inline links — quiet colour transition + arrow nudge.
   -------------------------------------------------------------------------- */
/* Comfortable top/bottom breathing room (was a cramped 6px). */
.site-breadcrumb {
	padding-top: 14px;
	padding-bottom: 14px;
}
.site-breadcrumb__link:hover {
	color: var(--nhs-blue-bright);
}
.didnot-find .find-req a,
.custom-trip-sect a {
	transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur-fast) var(--ease);
}

/* --------------------------------------------------------------------------
   7. Footer — links slide slightly and social icons lift on hover.
   -------------------------------------------------------------------------- */
footer .lnk a {
	display: inline-block;
	transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
footer .lnk a:hover {
	transform: translateX(4px);
	color: var(--nhs-blue-bright);
}
footer ul li a i {
	transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
footer ul li a:hover i {
	transform: translateY(-3px) scale(1.12);
	color: var(--nhs-accent);
}

/* --------------------------------------------------------------------------
   8. Balanced spacing rhythm — gentle, safe normalisation of gaps that were
      relying on inline margins. Purely additive; does not move layout blocks.
   -------------------------------------------------------------------------- */
.top-header .info3 {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.small-nav .connect {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.top-header .info4 ul {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Consistent, comfortable padding on the two primary CTAs. */
.custom-trip-sect a,
.subscribe-sect .input-group-text {
	padding-inline: 22px;
}

/* Newsletter field + button share one rounded, balanced pill. */
.subscribe-sect .input-group .form-control {
	transition: box-shadow var(--dur) var(--ease), border-color var(--dur-fast) var(--ease);
}

/* Section headings breathe consistently above their content. */
.packages .title,
.blog-sect .title,
.major-services .title {
	margin-bottom: 22px;
}

/* Content width — the site caps at 1200px, which leaves large empty margins on
   wide monitors next to the full-width hero/nav. Keep 1200 for laptops, and
   grow to a comfortable 1320px on large screens for a balanced, filled layout. */
@media (min-width: 1400px) {
	.container {
		max-width: 1320px;
	}
}

/* --------------------------------------------------------------------------
   Payment & partner logos — normalise mismatched logos (different shapes,
   sizes and colours) into equal, tidy tiles so the row reads as one set.
   -------------------------------------------------------------------------- */
.pay-lgo .payment h4,
.pay-lgo .affi h4 {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--nhs-blue);
	margin-bottom: 14px;
}
.pay-lgo .payment p,
.pay-lgo .affi p {
	color: #64748b;
	font-size: 13px;
	margin-bottom: 14px;
}

.pay-lgo .content ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0;
	padding: 0;
}
.pay-lgo .content ul li {
	margin: 0 !important;
	padding: 0;
	list-style: none;
	display: flex;
}
/* The <a> around each logo becomes the uniform tile. */
.pay-lgo .content ul li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 92px;
	height: 56px;
	padding: 8px 12px;
	background: #fff;
	border: 1px solid #e6eef5;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(6, 86, 145, 0.06);
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.pay-lgo .content ul li a:hover {
	transform: translateY(-3px);
	border-color: #cfe3f4;
	box-shadow: 0 10px 22px rgba(6, 86, 145, 0.14);
}
/* Logo sits contained and centred inside the tile, regardless of source size. */
.pay-lgo .content ul li img,
.pay-lgo .content ul li a img {
	height: auto !important;
	width: auto !important;
	max-height: 34px !important;
	max-width: 100% !important;
	object-fit: contain;
	margin: 0 !important;
	display: block;
}

@media (max-width: 575.98px) {
	.pay-lgo .content ul { gap: 10px; }
	.pay-lgo .content ul li a { width: 78px; height: 48px; padding: 6px 10px; }
	.pay-lgo .content ul li img,
	.pay-lgo .content ul li a img { max-height: 28px !important; }
}

/* --------------------------------------------------------------------------
   Booking funnel (make-booking) — 2-column form + sticky summary. These
   classes previously had no styling, so the page stacked unstyled.
   -------------------------------------------------------------------------- */
.booking-funnel-page {
	padding: 26px 0 48px;
	background: #f4f7fb;
}
.booking-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	font-size: 13px;
	color: #64748b;
}
.booking-breadcrumb a {
	color: var(--nhs-blue);
	text-decoration: none;
	font-weight: 600;
}
.booking-breadcrumb a:hover { color: var(--nhs-blue-bright); }

.booking-funnel-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	align-items: start;
	gap: 24px;
}

.booking-funnel-card {
	background: #fff;
	border: 1px solid #e6eef5;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(6, 86, 145, 0.07);
	padding: 28px 30px 30px;
}
.booking-eyebrow {
	margin: 0 0 4px;
	color: var(--nhs-blue-bright);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.booking-funnel-card > h1,
#booking-funnel-title {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 800;
	color: var(--nhs-ink);
}
.booking-intro {
	margin: 0 0 22px;
	color: #5b6b7a;
	font-size: 14px;
	line-height: 1.6;
}

/* Form sections */
.booking-funnel-form__section {
	padding: 20px 0;
	border-top: 1px solid #eef2f7;
}
.booking-funnel-form__section:first-of-type { border-top: 0; padding-top: 0; }
.booking-funnel-form__heading {
	margin: 0 0 14px;
	font-size: 17px;
	font-weight: 800;
	color: var(--nhs-ink);
}
.booking-funnel-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #45566a;
}
.booking-funnel-form .form-control {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid #d6e1ec;
	border-radius: 4px;
	font-size: 14px;
	background: #fff;
	transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.booking-funnel-form .form-control:focus {
	border-color: var(--nhs-blue-bright);
	box-shadow: 0 0 0 3px rgba(0, 147, 255, 0.14);
	outline: none;
}
.booking-funnel-form .error {
	color: #d64545;
	font-size: 12px;
	margin-top: 4px;
	min-height: 0;
}

/* Primary continue / submit button */
.booking-funnel-actions { margin-top: 22px; }
.booking-continue-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 20px;
	border: none;
	border-radius: 6px;
	background: #1f9d55;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(31, 157, 85, 0.26);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.booking-continue-btn:hover { background: #178047; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(31, 157, 85, 0.32); }
.booking-funnel-actions__note {
	margin: 10px 0 0;
	color: #64748b;
	font-size: 12.5px;
	text-align: center;
}

/* Summary sidebar */
.booking-funnel-summary {
	position: sticky;
	top: 96px;
	background: #fff;
	border: 1px solid #e6eef5;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(6, 86, 145, 0.07);
	overflow: hidden;
}
.booking-funnel-summary__media img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	display: block;
}
.booking-funnel-summary__body { padding: 16px 18px 18px; }
.booking-funnel-summary__meta { color: #5b6b7a; font-size: 13px; }
.booking-funnel-summary__price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin: 12px 0;
	padding: 12px 0;
	border-top: 1px solid #eef2f7;
	border-bottom: 1px solid #eef2f7;
	font-size: 15px;
	font-weight: 800;
	color: var(--nhs-ink);
}
.booking-funnel-summary__price .amount-div { color: var(--nhs-blue); font-size: 18px; }
.booking-funnel-summary__secure {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #1f9d55;
	font-size: 12.5px;
	font-weight: 600;
}
.booking-funnel-loader { display: none; }

@media (max-width: 991.98px) {
	.booking-funnel-grid { grid-template-columns: 1fr; }
	.booking-funnel-summary { position: static; order: -1; }
	.booking-funnel-card { padding: 22px 18px 24px; }
}

/* --------------------------------------------------------------------------
   Blog listing — post cards grid + categories sidebar.
   -------------------------------------------------------------------------- */
.blog-layout__title {
	margin: 6px 0 22px;
	font-size: 30px;
	font-weight: 800;
	color: var(--nhs-ink);
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.blog-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e6eef5;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(6, 86, 145, 0.08);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(6, 86, 145, 0.14);
}

.blog-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #eef3f7;
}
.blog-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s var(--ease);
}
.blog-card:hover .blog-card__media img {
	transform: scale(1.05);
}

.blog-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 16px 18px;
	flex: 1;
}
.blog-card__meta {
	color: var(--nhs-blue-bright);
	font-size: 12px;
	font-weight: 600;
}
.blog-card__meta i {
	margin-right: 4px;
}
.blog-card__title {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.blog-card__title a {
	color: var(--nhs-ink);
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease);
}
.blog-card:hover .blog-card__title a,
.blog-card__title a:hover {
	color: var(--nhs-blue);
}
.blog-card__excerpt {
	margin: 0;
	color: #64748b;
	font-size: 13px;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.blog-card__more {
	margin-top: auto;
	padding-top: 4px;
	align-self: flex-start;
	color: var(--nhs-blue);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: gap 0.2s var(--ease), color 0.2s var(--ease);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.blog-card__more:hover {
	color: var(--nhs-blue-bright);
	gap: 10px;
}

.blog-pagination {
	margin: 28px 0 0;
}
.blog-pagination .pagination {
	flex-wrap: wrap;
	gap: 6px;
}

/* Categories sidebar */
.blog-sidebar {
	position: sticky;
	top: 96px;
}
.blog-sidebar__widget {
	background: #fff;
	border: 1px solid #e6eef5;
	border-radius: 4px;
	box-shadow: 0 8px 22px rgba(6, 86, 145, 0.06);
	padding: 18px 18px 20px;
}
.blog-sidebar__title {
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 2px solid #eef3f7;
	font-size: 16px;
	font-weight: 800;
	color: var(--nhs-ink);
	display: flex;
	align-items: center;
	gap: 8px;
}
.blog-sidebar__title i {
	color: var(--nhs-blue-bright);
}
.blog-sidebar__cats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.blog-sidebar__cats a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 4px;
	color: #334155;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
}
.blog-sidebar__cats a i {
	font-size: 11px;
	color: #94a3b8;
	transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.blog-sidebar__cats a:hover {
	background: #f0f8ff;
	color: var(--nhs-blue);
	padding-left: 16px;
}
.blog-sidebar__cats a:hover i {
	color: var(--nhs-blue);
	transform: translateX(3px);
}

@media (max-width: 991.98px) {
	.blog-sidebar { position: static; margin-top: 32px; }
}
@media (max-width: 575.98px) {
	.blog-grid { grid-template-columns: 1fr; gap: 18px; }
	.blog-layout__title { font-size: 24px; }
}

/* --------------------------------------------------------------------------
   Activity / category detail pages — readable article + balanced "Related"
   sections with uniform region/trip tiles.
   -------------------------------------------------------------------------- */
.main-block {
	padding-bottom: 32px;
}
.main-block .dlist {
	line-height: 1.7;
}
.main-block .related-section-title {
	margin-top: 46px;
	margin-bottom: 22px;
	padding-top: 26px;
	border-top: 1px solid #e6eef5;
}
.main-block .related-section-title:first-child,
.main-block .activity-grid + .related-section-title {
	border-top: 0;
}
.main-block .activity-grid {
	margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   9. Media — images inside cards/links ease rather than snap (parents that
      already animate keep their own rule; this covers the rest).
   -------------------------------------------------------------------------- */
.details-image img,
.blog-continue-title ~ * img,
a > img {
	transition: transform var(--dur) var(--ease-out), filter var(--dur) var(--ease);
}

/* Anchor jump targets clear the sticky nav and land smoothly. */
:target {
	scroll-margin-top: 90px;
}

/* --------------------------------------------------------------------------
   10. Respect users who prefer reduced motion — strip transforms/animation,
       keep the design fully usable and instant.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.bloo {
		animation: none !important;
		transform: none !important;
	}
}
