/* =========================================================
   State of the art facilities
   ========================================================= */

.facilities-section {
	padding: 80px 0;
	background: #1A0B4E;
	color: #fff;
}

/* ---------- Header ---------- */
.facilities-label {
	display: block;
	margin-bottom: 12px;
	font-size: 28px;
	font-weight: 700;
	color: #fff;
}

.facilities-title {
	font-size: 58px;
	font-weight: 800;
	line-height: 1.2;
	color: #FFC800;
}

.facilities-desc {
	max-width: 820px;
	margin: 0 0 28px;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .75);
}

/* ---------- Filter pills ---------- */
.facilities-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 32px;
}

.facilities-pill {
	padding: 9px 20px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50px;
	background: transparent;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.facilities-pill:hover {
	background: rgba(255, 255, 255, .1);
}

.facilities-pill.is-active {
	background: #FFC800;
	border-color: #FFC800;
	color: #1A0B4E;
	font-weight: 700;
}

.facilities-pill:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* ---------- Grid ---------- */
.facilities-col.is-hidden {
	display: none !important;
}

/* ---------- Card ---------- */
.facilities-card {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	height: 100%;
	padding: 18px 20px;
	border: 0;
	border-radius: 12px;
	background: #fff;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease;
}

.facilities-card.is-static {
	cursor: default;
}

.facilities-card.is-static:hover {
	transform: none;
	box-shadow: none;
}

.facilities-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
}

.facilities-card:focus-visible {
	outline: 2px solid #FFC800;
	outline-offset: 3px;
}

.facilities-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #5641E0;
}

.facilities-icon svg,
.facilities-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.facilities-divider {
	flex: 0 0 1px;
	width: 1px;
	align-self: stretch;
	background: #E4E7EC;
}

.facilities-text {
	flex: 1 1 auto;
	min-width: 0;
}

.facilities-card-title {
	display: block;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	background: var(--New, linear-gradient(90deg, #B53C72 0%, #5641E0 100%));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.facilities-card-cat {
	display: block;
	margin-top: 3px;
	font-size: 16px;
	line-height: 1.3;
	color: #5B6178;
}

/* ---------- Footer ---------- */
.facilities-foot.is-hidden {
	display: none;
}

.facilities-foot {
	display: flex;
	align-items: center;
	gap: 28px;
	width: 100%;
	margin-top: 36px;
}

.facilities-progress {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	height: 3px;
	border-radius: 2px;
	background: rgba(255, 255, 255, .18);
	overflow: hidden;
}

.facilities-progress-fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	border-radius: 2px;
	background: #FFC800;
	transition: width .35s ease;
}

.facilities-nav {
	display: flex;
	gap: 14px;
	flex: 0 0 auto;
}

.facilities-prev,
.facilities-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	cursor: pointer;
	transition: opacity .2s ease, transform .2s ease;
}
.facilities-nav svg path{
	stroke:#fff;
}
.facilities-prev:hover:not(:disabled),
.facilities-next:hover:not(:disabled) {
	transform: scale(1.12);
}

.facilities-prev:disabled,
.facilities-next:disabled {
	opacity: .3;
	cursor: default;
}

.facilities-prev:focus-visible,
.facilities-next:focus-visible {
	outline: 2px solid #FFC800;
	outline-offset: 2px;
	border-radius: 50%;
}


/* =========================================================
   Gallery modal
   ========================================================= */

.pu-facility-gallery-modal .modal-content {
	border: none;
    border-radius: 32px;
    padding: 50px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(16, 24, 40, .12);
}

.pu-facility-gallery-modal .modal-header {
	border: 0;
    padding: 0;
    position: relative;
    justify-content: center;
    text-align: center;
}

@media (min-width: 577px) {
    .pu-art-cultural-gallery-tags {
        flex-direction: column !important;
    }
}
.pu-art-cultural-gallery-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.pu-facility-gallery-title {
	font-family: var(--pu-font-heading);
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.08;
    color: #6b46e5;
    margin-bottom: 18px;
    font-weight: 700;
    text-align: center;
}
.pu-facility-gallery-description {
    font-family: var(--pu-font-body);
    font-size: 18px;
    line-height: 1.5;
    color: #444;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.pu-facility-gallery-close {
	flex: 0 0 auto;
	display: inline-flex;
	padding: 0;
	border: 0;
	background: none;
	line-height: 0;
	cursor: pointer;
}

.pu-facility-gallery-body {
	max-height: 62vh;
	overflow-y: auto;
	padding: 24px 28px;
}

.pu-facility-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.pu-facility-gallery-grid.is-empty {
	display: none;
}

.pu-facility-gallery-grid img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 10px;
	background: #F1F3F7;
}

.pu-facility-gallery-footer {
	justify-content: center;
	padding: 18px 28px 24px;
	border-top: 1px solid #ECEFF5;
}

.pu-facility-gallery-button {
	font-weight: 700;
	color: #0F0445;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
	.facilities-title { font-size: 36px; }
}

@media (max-width: 991.98px) {
	.facilities-section { padding: 60px 0; }
	.pu-facility-gallery-grid { grid-template-columns: repeat(3, 1fr); }
	.facilities-title { font-size: 30px; }
	.facilities-label { font-size: 17px; }
	.facilities-foot { gap: 18px; margin-top: 28px; }
}

@media (max-width: 575.98px) {
	.facilities-section { padding: 48px 0; }
	.facilities-title { font-size: 25px; }
	.facilities-pill { padding: 8px 15px; font-size: 13px; }
	.facilities-filter { gap: 8px; margin-bottom: 24px; }
	.facilities-card { padding: 14px 16px; gap: 12px; }

	.pu-facility-gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.pu-facility-gallery-title { font-size: 21px; }
	.pu-facility-gallery-body,
	.pu-facility-gallery-modal .modal-header { padding-left: 18px; padding-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.facilities-pill,
	.facilities-card,
	.facilities-prev,
	.facilities-next,
	.facilities-progress-fill { transition: none; }

	.facilities-card:hover { transform: none; }
}
.pu-facility-gallery-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}
.facilities-section .pu-dots {
	display: none;
}
 
.facilities-foot.is-hidden,
.facilities-section .pu-dots.is-hidden {
	display: none !important;
}
 
.facilities-select-wrap {
	position: relative;
	margin-bottom: 24px;
}

.facilities-select-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 20px;
	border-radius: 50px;
	background: #FFC800;
	color: #1A0B4E;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	pointer-events: none;      
}

.facilities-select {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	padding:15px;
}
@media (max-width: 767.98px) {
 
	.pu-facility-gallery-modal .modal-content{
		padding:20px 0px !important;
	}
	.pu-facility-gallery-title.js-fac-title{
		font-size:28px !important;
	}
	.pu-facility-gallery-close {
		position: absolute;
		top: -12px;
		right: 15px;
		width: 25px;
		height: 25px;
	}
	.facilities-foot {
		display: none !important;
	}
 
	.facilities-section .pu-dots:not(.is-hidden) {
		display: flex !important;
		justify-content: center;
		align-items: center;
		gap: 6px;
		list-style: none;
		margin: 20px 0 0;
		padding: 0;
	}
 
	.facilities-section .pu-dots li {
		display: flex;
		width: auto;
		height: auto;
		margin: 0;
	}
 
	.facilities-section .pu-dots button {
		width: 7px;
		height: 7px;
		padding: 0;
		border: 0;
		border-radius: 50px;
		background: rgba(255, 255, 255, .28);
		font-size: 0;
		line-height: 0;
		cursor: pointer;
		transition: width .25s ease, height .25s ease,
		            background .25s ease, opacity .25s ease;
	}
 
	.facilities-section .pu-dots .is-active button {
		width: 22px;
		background: #FFC800;
	}
 
	/* Window ke kinaare — us taraf aur pages hain ka hint */
	.facilities-section .pu-dots .is-edge button {
		width: 5px;
		height: 5px;
		opacity: .5;
	}
 
	/* Swipe ke waqt browser horizontal scroll na kare */
	.facilities-grid {
		touch-action: pan-y;
	}
}
 
@media (prefers-reduced-motion: reduce) {
	.facilities-section .pu-dots button { transition: none; }
}
