/* ==========================================================================
   INNER PAGES
   ========================================================================== */

/* ---------- Page banner (full-width image) ---------- */
.qt-banner { overflow: hidden; }
.qt-banner img { width: 100%; height: 500px !important; object-fit: cover !important; display: block; }

/* Hidden on tablet only (768–1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
	.qt-hidden-tablet { display: none !important; }
}

/* ---------- Screen-reader only label ---------- */
.qt-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Destination form band (Elementor-form style) ---------- */
.qt-dest-form { margin-top: 100px; }
.qt-dest-form .qt-plan-inner { padding-top: 50px; padding-bottom: 50px; }
.qt-dest-form-fields .qt-form-row { display: flex; flex-wrap: wrap; gap: 10px; }
.qt-dest-form-fields .qt-form-group { flex: 1 1 calc(50% - 10px); min-width: 240px; }
.qt-dest-form-fields input {
	background: transparent;
	border: 1px solid var(--qt-white);
	color: var(--qt-white);
}
.qt-dest-form-fields input::placeholder { color: rgba(255, 255, 255, .7); }
.qt-dest-form-fields input:focus { border-color: var(--qt-tan); outline: none; }
.qt-btn-dest-submit {
	width: 40%;
	background: transparent;
	border: 1px solid var(--qt-gold-light);
	color: #fff;
	border-radius: 30px;
	padding: 20px 40px;
	font-family: var(--qt-f-roboto);
}
.qt-btn-dest-submit:hover { background-color: var(--qt-gold-light); color: #fff; }

/* ---------- "Lasting Wonders" (destinations) ---------- */
.qt-wonders { background-color: #FDFDFD; padding: 80px 0 10px; }
.qt-wonders-inner { text-align: center; }
.qt-wonders-title {
	margin: 0 0 4px;
	font-family: var(--qt-f-book);
	font-size: 3rem;
	font-weight: 500;
	text-transform: capitalize;
	line-height: 1.1666em;
	color: var(--qt-gold);
}
.qt-wonders-divider {
	width: 48px;
	height: 4px;
	margin: 16px auto;
	background-color: #cc9955;
}
.qt-wonders-text {
	max-width: 800px;
	margin: 0 auto 30px;
	font-family: var(--qt-f-roboto);
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.4em;
	letter-spacing: .15px;
	color: #000;
}
@media (max-width: 767px) {
	.qt-wonders { padding: 40px 0 0; }
	.qt-wonders-title { font-size: 2.5rem; }
	.qt-wonders-text { font-size: 1rem; }
}

/* ---------- Destination gallery (asymmetric collage, as on the original) ---------- */
.qt-gallery { background-color: #FDFDFD; padding: 0 0 40px; }
.qt-gallery-inner {
	max-width: 1000px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.qt-gallery-top { display: flex; gap: 8px; }
.qt-gallery-top-left { flex: 0 0 calc(50% - 4px); }
.qt-gallery-top-right {
	flex: 0 0 calc(50% - 4px);
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.qt-gallery-top-right-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}
.qt-gallery-bottom { display: flex; gap: 8px; }
.qt-gallery-bottom-left {
	flex: 0 0 calc(50% - 4px);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}
.qt-gallery-bottom-right { flex: 0 0 calc(50% - 4px); }
.qt-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 767px) {
	.qt-gallery { padding-bottom: 0; }
	.qt-gallery-top { flex-direction: column; }
	.qt-gallery-top-left { flex: none; }
	.qt-gallery-top-right { flex: none; }
	.qt-gallery-top-right-row { grid-template-columns: 1fr; }
	.qt-gallery-bottom { flex-direction: column; }
	.qt-gallery-bottom-left { flex: none; grid-template-columns: 1fr; }
	.qt-gallery-bottom-right { flex: none; }
}

/* ---------- About page ---------- */
.qt-about-page .qt-about-inner { padding-top: 160px; }
.qt-about-side-mosque {
	background-image: url('../assets/img/prophet-mohammed-mosque-al-masjid-an-nabawi-um-2023-11-27-05-14-01-utc-2.jpg');
}
.qt-about-card-gold-bg {
	background-color: var(--qt-gold-light);
	background-image: url('../assets/img/the-famous-sheikh-zayed-grand-mosque-a-unique-tou-2023-11-27-05-27-25-utc.jpg');
	background-position: center center;
	background-size: cover;
	position: relative;
}
.qt-about-card-gold-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background-color: rgba(94, 80, 63, .5);
	border-radius: 30px;
}
.qt-about-card-gold-bg > * { position: relative; z-index: 1; }
@media (max-width: 1024px) {
	.qt-about-page .qt-about-inner { padding-top: 100px; }
}

/* ---------- Counters ---------- */
.qt-counters { background-color: var(--qt-gold); }
.qt-counters-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	padding-top: 70px;
	padding-bottom: 70px;
}
.qt-counter { flex: 1 1 25%; text-align: center; }
.qt-counter-number {
	color: #fff;
	font-family: var(--qt-f-roboto);
	font-size: 4em;
	font-weight: 800;
	line-height: 66px;
}
.qt-counter-title {
	color: #fff;
	font-family: var(--qt-f-eurostile);
	font-size: 1em;
	font-weight: 400;
}
@media (max-width: 1024px) {
	.qt-counter-number { font-size: 3em; line-height: 1em; }
}
@media (max-width: 767px) {
	.qt-counter { flex: 1 1 50%; padding: 12px 0; }
}

/* ---------- Package details pages ---------- */
.qt-detail-hero {
	background-image: url('../assets/img/banner.jpg');
	background-position: center left;
	background-size: cover;
	position: relative;
}
.qt-detail-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-color: rgba(136, 103, 41, .52); /* #88672985 */
}
.qt-detail-hero-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-top: 200px;
	padding-bottom: 200px;
}
.qt-detail-hero-title {
	margin: 0;
	text-align: center;
	font-family: var(--qt-f-book);
	font-size: 3.5em;
	font-weight: 500;
	color: var(--qt-gold-light);
}
@media (max-width: 1024px) {
	.qt-detail-hero-inner { padding-top: 170px; padding-bottom: 100px; }
}
@media (max-width: 767px) {
	.qt-detail-hero-inner { padding-top: 170px; padding-bottom: 170px; }
	.qt-detail-hero-title { font-size: 2rem; }
}

/* Detail icon boxes */
.qt-detail-icons { background-color: var(--qt-gold); }
.qt-detail-icons-inner {
	display: flex;
	gap: 0;
	padding-top: 10px;
	padding-bottom: 10px;
}
.qt-detail-icon {
	flex: 1 1 25%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.qt-detail-icon-svg svg { width: 36px; height: 36px; fill: #fff; }
.qt-detail-icon-title {
	margin: 4px 0 0;
	font-family: var(--qt-f-eurostile);
	font-size: 1.3rem;
	font-weight:200;
	color: #fff;
}
@media (max-width: 767px) {
	.qt-detail-icons-inner { flex-wrap: wrap; }
	.qt-detail-icon { flex: 1 1 50%; padding: 10px 0; }
	.qt-detail-icon-svg svg { width: 27px; height: 27px; }
	.qt-detail-icon-title { font-size: 1rem; }
}

/* Detail body */
.qt-detail-body-inner {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding-top: 100px;
	padding-bottom: 100px;
}
.qt-detail-cols {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-left: 50px;
}
.qt-detail-col { margin-bottom: 24px; }
.qt-detail-head { display: flex; align-items: center; gap: 12px; }
.qt-detail-head img { width: 32px; height: 32px; border-radius: 30px; }
.qt-detail-head-title {
	margin: 0;
	font-family: var(--qt-f-book);
	font-size: 1.4em;
	font-weight: 700;
	color: var(--qt-gold);
}
.qt-detail-list { padding: 6px 0 0; }
.qt-detail-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid #ddd;
	font-family: var(--qt-f-eurostile);
	font-size: 1rem;
	color: #000;
}
.qt-detail-list li:last-child { border-bottom: none; }
.qt-detail-arrow svg {
	width: 14px;
	height: 14px;
	fill: var(--qt-gold);
	flex-shrink: 0;
	margin-top: 4px;
}
.qt-detail-carousel-col {
	flex: 0 0 43.508%;
	margin-top: 60px;
	background-color: var(--qt-gold-mid);
	border-radius: 500px 500px 10px 10px;
	padding: 0 40px 40px;
}
.qt-detail-carousel-col .qt-carousel {
	margin-top: -60px;
	border-radius: 400px 400px 10px 10px;
	overflow: hidden;
}
.qt-detail-carousel-col .qt-carousel-slide img { width: 100%; max-height: none; }
.qt-carousel-detail { position: relative; }
.qt-carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: rgba(255, 255, 255, .85);
	border: none;
	border-radius: 50%;
	color: var(--qt-gold-light);
	cursor: pointer;
	transition: background-color .3s;
}
.qt-carousel-arrow:hover { background: #fff; }
.qt-carousel-arrow svg { width: 16px; height: 16px; fill: currentColor; }
.qt-carousel-prev { left: 10px; }
.qt-carousel-next { right: 10px; }
@media (max-width: 1024px) {
	.qt-detail-body-inner { flex-direction: column; }
	.qt-detail-cols { padding-left: 0; width: 100%; }
	.qt-detail-carousel-col { flex: none; width: 100%; margin-top: 60px; }
}
@media (max-width: 767px) {
	.qt-detail-body-inner { padding-top: 100px; padding-bottom: 100px; }
	.qt-detail-cols { padding-top: 20px; }
}

/* Book your tour card */
.qt-book-inner {
	display: flex;
	justify-content: center;
	padding-bottom: 60px;
}
.qt-book-card {
	width: 71%;
	border-radius: 19px;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
	padding: 3%;
}
.qt-book-title {
	margin: 0 0 16px;
	text-align: center;
	font-family: var(--qt-f-book);
	font-size: 1.8em;
	font-weight: 700;
	color: var(--qt-gold);
}
.qt-book-form .qt-form-group label { color: var(--qt-gold); font-weight: 200; }
.qt-book-form .qt-form-group input,
.qt-book-form .qt-form-group textarea {
	background: transparent;
	border: 1px solid #ced4da;
	color: #495057;
}
.qt-book-form .qt-form-group input::placeholder,
.qt-book-form .qt-form-group textarea::placeholder { color: #9aa0a6; }
.qt-book-form .qt-form-submit { text-align: center; }
@media (max-width: 1024px) {
	.qt-book-card { width: 100%; padding: 6%; }
	.qt-book-title { font-size: 1.6em; }
}
@media (max-width: 767px) {
	.qt-book-card { padding: 22px; }
}

/* ---------- Contact info cards ---------- */
.qt-contact-info { background-color: var(--qt-gold); }
.qt-contact-info-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	padding-top: 80px;
	padding-bottom: 80px;
}
.qt-contact-info-card {
	flex: 1 1 220px;
	min-width: 0;
	margin-top: 30px;
	padding: 0 30px 20px;
	border: 1px solid #fff;
	border-radius: 30px;
	box-shadow: 6px 6px 0 0 var(--qt-tan);
}
.qt-contact-info-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-top: -30px;
	background-color: var(--qt-tan);
	border-radius: 100px 100px 10px 10px;
	color: #fff;
}
.qt-contact-info-icon svg { width: 26px; height: 26px; fill: #fff; }
.qt-contact-info-title {
	margin: 10px 0 0;
	font-family: var(--qt-f-eurostile);
	font-size: 1.1em;
	font-weight: normal;
	color: #fff;
}
@media (max-width: 767px) {
	.qt-contact-info-inner { padding-top: 20px; padding-bottom: 50px; }
	.qt-contact-info-card { flex: 1 1 100%; margin: 30px 20px 0; text-align: center; }
	.qt-contact-info-icon { width: 46px; height: 46px; }
	.qt-contact-info-icon svg { width: 22px; height: 22px; }
}

/* ---------- Map ---------- */
.qt-map-inner { padding-bottom: 40px; }

/* ---------- Blog ---------- */
.qt-blog-inner { padding-top: 60px; padding-bottom: 60px; }
.qt-blog-header {
	margin: 0 0 30px;
	font-family: var(--qt-f-roboto);
	font-size: 2.5em;
	font-weight: 700;
	color: var(--qt-black);
}
.qt-blog-header span { color: var(--qt-gold); }
.qt-blog-posts { display: flex; flex-direction: column; gap: 40px; }
.qt-post { max-width: 800px; }
.qt-post-title {
	margin: 0 0 10px;
	font-family: var(--qt-f-roboto);
	font-size: 1.5em;
	font-weight: 700;
	line-height: 1.3;
}
.qt-post-title a { color: var(--qt-black); transition: color .3s; }
.qt-post-title a:hover { color: var(--qt-gold); }
.qt-post img { width: 100%; height: auto; margin-bottom: 10px; }
.qt-post p {
	font-family: var(--qt-f-roboto);
	font-size: 1rem;
	font-weight: 400;
	color: #333;
}
@media (max-width: 767px) {
	.qt-blog-header { font-size: 2em; }
	.qt-post-title { font-size: 1.25em; }
}
