/* Prevent video navigation icons from flipping in RTL/LTR */
[dir="rtl"] .video-nav,
[dir="ltr"] .video-nav {
	direction: ltr !important;
}
[dir="rtl"] .video-nav *,
[dir="ltr"] .video-nav * {
	transform: none !important;
}
/* Prevent video navigation buttons from switching in RTL */
[dir="rtl"] .video-nav.prev {
	left: 0 !important;
	right: auto !important;
	/* Add any other LTR-specific styles here if needed */
}
[dir="rtl"] .video-nav.next {
	right: 0 !important;
	left: auto !important;
	/* Add any other LTR-specific styles here if needed */
}
:root {
	--dark-bg: linear-gradient(135deg, #1a1208 0%, #2e2218 50%, #1a1208 100%);
	--gold: #d4af37;
	--gold-glow: rgba(212, 175, 55, 0.4);
	--gold-light: #f1e5b9;
	--white: #ffffff;
	--light-gray: #e0e0e0;
	--dark-gray: #a0a0a0;
	--section-padding: 6rem 0;
}

/*
===============================================================================
	STYLE SHEET ORGANIZATION (Dr. Naglaa Clinic)

	Sections:
	1) Reset & Variables
	2) Layout helpers (container, utilities)
	3) Navigation / Header
	4) Hero / About / Sections
	5) Services grid
	6) Map / Footer / Widgets
	7) Responsive overrides

	Notes:
	- Keep comments short and grouping-focused. Use the above order when
		adding new styles to keep the file consistent.
===============================================================================
*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.radialmenu-wrapper {
	display: none;
}
/* Remove default underline for all links */
a {
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: none;
}

.service-icon {
	margin-right: 10px;
	color: var(--gold);
	font-size: 1.1rem;
	vertical-align: middle;
}

/* Bilingual support: show/hide language spans based on document direction */
.lang-en {
	display: inline;
}
.lang-ar {
	display: none;
}

[dir="rtl"] .lang-en {
	display: none;
}
[dir="rtl"] .lang-ar {
	display: inline;
}

.service-card:focus {
	outline: 3px solid rgba(212, 175, 55, 0.18);
	outline-offset: 4px;
}

.service-desc {
	color: var(--light-gray);
	font-size: 0.95rem;
	margin-top: 0.4rem;
	line-height: 1.4;
}

.service-card {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 1.2rem 1.5rem;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
}

/* Ensure icons are positioned far left in LTR and far right in RTL */
.service-card {
	display: flex;
	align-items: center;
	justify-content: flex-start; /* Default to LTR */
}

[dir="rtl"] .service-card {
	justify-content: flex-end; /* Adjust to RTL */
}

.service-card .service-icon {
	order: -1; /* Ensure icon is always at the start */
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden; /* guard against horizontal scroll */
}

body {
	font-family: "Inter", sans-serif;
	color: var(--white);
	background: var(--dark-bg);
	line-height: 1.6;
	overflow-x: hidden;
	max-width: 100vw;
}

h1,
h2,
h3,
h4,
h5 {
	font-family: "Cormorant Garamond", serif;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.container {
	width: 90%;
	max-width: 1400px;
	margin: 0 auto;
}

/* Navigation */
nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 1.5rem 0;
	z-index: 1000;
	transition: all 0.4s ease;
}

nav.scrolled {
	background: rgb(26, 18, 8) !important;
	padding: 1rem 0 !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-family: "Cormorant Garamond", serif;
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--gold);
	text-decoration: none;
	display: inline-flex;
	align-items: center; /* vertically center image + text */
	gap: 0.6rem;
}

/* logo image sizing and alignment */
.logo img {
	display: block;
	width: 50px;
	height: auto;
}

/* Hero enlarged animated ring behind portrait */
.hero .hero-image {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero .hero-image::after {
	content: "";
	position: absolute;
	background: #1a1208;
	color: var(--gold);
}

/* Hamburger animation */
.mobile-menu-btn {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	background: transparent;
	border: none;
	color: var(--white);
	cursor: pointer;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mobile-menu-btn .bar {
	position: relative;
	display: block;
	width: 22px;
	height: 2px;
	background: var(--white);
	transition: transform 0.35s ease, opacity 0.25s ease;
}

.mobile-menu-btn .bar::before,
.mobile-menu-btn .bar::after {
	content: "";
	position: absolute;
	left: 0;
	width: 22px;
	height: 2px;
	background: var(--white);
	transition: transform 0.35s ease, top 0.35s ease, opacity 0.25s ease;
}

.mobile-menu-btn .bar::before {
	top: -7px;
}
.mobile-menu-btn .bar::after {
	top: 7px;
}

.mobile-menu-btn.open .bar {
	transform: rotate(45deg);
}
.mobile-menu-btn.open .bar::before {
	top: 0;
	transform: rotate(90deg);
	opacity: 0;
}
.mobile-menu-btn.open .bar::after {
	top: 0;
	transform: rotate(90deg);
}

.nav-links {
	display: flex;
	list-style: none;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
}
[dir="rtl"] .nav-links li {
	margin-left: 2.5rem;
	margin-right: 0;
}

.nav-links li {
	margin-right: 2.5rem;
}

.nav-links a {
	color: var(--white);
	text-decoration: none;
	font-size: 1rem;
	font-weight: 400;
	transition: all 0.3s ease;
	position: relative;
}

.nav-links a:after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gold);
	transition: width 0.3s ease;
}

.nav-links a:hover:after {
	width: 100%;
}

.nav-links a:hover {
	color: var(--gold-light);
}

/* Active nav link (highlight based on scroll position) */
.nav-links a.active {
	color: var(--gold) !important;
}
.nav-links a.active:after {
	width: 100% !important;
	background: var(--gold) !important;
}

.nav-cta {
	background: var(--gold);
	color: #1a1208;
	padding: 0.8rem 1.5rem;
	border-radius: 30px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.nav-cta:hover {
	background: var(--gold-light);
	box-shadow: 0 0 15px var(--gold-glow);
}

.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	color: var(--white);
	font-size: 1.5rem;
	cursor: pointer;
}

/* Responsive nav: show hamburger on small screens */
@media (max-width: 768px) {
	.mobile-menu-btn {
		display: inline-block;
	}

	.nav-links {
		display: none;
		position: fixed;
		top: 100%;
		left: 0;
		width: 100%;
		background: rgba(26, 18, 8, 0.98);
		flex-direction: column;
		padding: 1rem 0;
		gap: 0;
		z-index: 1099;
		transform: translateY(-8px);
		opacity: 0;
		transition: transform 0.36s cubic-bezier(0.2, 0.9, 0.2, 1),
			opacity 0.22s ease;
	}

	.nav-links.open {
		display: flex;
		transform: translateY(0);
		opacity: 1;
	}

	.nav-links li {
		margin: 0.6rem 0;
		text-align: center;
	}
}

/* Tablet breakpoint (covers iPad / iPad Air portrait widths) */
@media (max-width: 1024px) {
	.hero-content {
		grid-template-columns: 1fr !important;
		gap: 2rem;
		align-items: center;
	}

	.hero-image {
		order: -1 !important; /* ensure image appears above text on tablets */
		display: flex !important;
		justify-content: center !important;
	}

	.about-container {
		grid-template-columns: 1fr !important;
		gap: 1.5rem;
		align-items: center;
	}

	.about-image {
		order: -1 !important;
		display: flex !important;
		justify-content: center !important;
	}
}

/* Additional mobile refinements */
@media (max-width: 768px) {
	.hero {
		padding: 3.5rem 0 2rem;
		min-height: auto;
	}

	.hero-content {
		grid-template-columns: 1fr;
		gap: 2rem;
		align-items: center;
	}

	.hero-text {
		padding: 0 1rem;
	}

	.hero-image {
		order: -1 !important; /* ensure image appears above text on small screens */
		display: flex;
		justify-content: center;
	}

	.doctor-portrait {
		max-width: 280px !important; /* smaller portrait on mobile */
	}

	/* About section: show portrait above text on small screens */
	.about-container {
		grid-template-columns: 1fr !important;
	}

	.about-image {
		order: -1 !important;
		display: flex;
		justify-content: center;
	}

	.container {
		width: 95%;
	}

	.video-hero {
		height: 220px;
	}
}

@media (max-width: 480px) {
	.hero {
		padding: 2.5rem 0 1.5rem;
	}

	.hero-heading {
		font-size: 1.8rem;
	}

	.doctor-portrait {
		max-width: 250px !important; /* reduce further on very small screens */
	}

	.nav-cta {
		padding: 0.6rem 1rem;
		font-size: 0.9rem;
	}

	.video-hero {
		height: 180px;
	}
}

/* Hero Section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 6rem 0 4rem;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(
			circle at 80% 50%,
			rgba(212, 175, 55, 0.1) 0%,
			transparent 20%
		),
		linear-gradient(45deg, rgba(26, 18, 8, 0.9) 0%, transparent 50%),
		url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.03"><path d="M10,50 Q30,30 50,50 T90,50" stroke="%23d4af37" fill="none" stroke-width="1"/></svg>');
	background-size: cover, cover, 300px;
	z-index: -1;
	animation: pulse 20s infinite alternate;
}

@keyframes pulse {
	0% {
		opacity: 0.7;
	}
	100% {
		opacity: 1;
	}
}

.hero-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.hero-text {
	padding-right: 2rem;
}

.hero-heading {
	font-size: 3.5rem;
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.hero-heading span {
	color: var(--gold);
	display: block;
}

.hero-subheading {
	font-size: 1.2rem;
	color: var(--light-gray);
	margin-bottom: 2.5rem;
}

.hero-cta {
	display: flex;
	gap: 1rem;
}

.btn {
	padding: 1rem 2rem;
	border-radius: 30px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-block;
}

.btn-primary {
	background: var(--gold);
	color: #1a1208;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
	background: var(--gold-light);
	box-shadow: 0 0 20px var(--gold-glow);
	transform: translateY(-2px);
}

.btn-secondary {
	border: 2px solid var(--gold);
	color: var(--gold);
	background: transparent;
}

.btn-secondary:hover {
	background: rgba(212, 175, 55, 0.1);
	box-shadow: 0 0 15px var(--gold-glow);
	transform: translateY(-2px);
}

.hero-image {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero-image::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	border: 2px solid var(--gold);
	border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
	animation: morphing 15s infinite linear;
	z-index: -1;
}

@keyframes morphing {
	0% {
		border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
	}
	25% {
		border-radius: 60% 40% 40% 60% / 60% 50% 50% 40%;
	}
	50% {
		border-radius: 50% 50% 60% 40% / 40% 60% 50% 60%;
	}
	75% {
		border-radius: 40% 60% 50% 50% / 50% 40% 60% 60%;
	}
	100% {
		border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
	}
}

.doctor-portrait {
	width: 100%;
	max-width: 600px;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	transition: all 0.5s ease;
	opacity: 0;
	animation: fadeIn 1s ease forwards 0.5s;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* About Section */
.about {
	padding: var(--section-padding);
	position: relative;
}

.about::before {
	content: "";
	position: absolute;
	top: -2px;
	left: 0;
	width: 100%;
	height: 100px;
	background: linear-gradient(to bottom, rgba(212, 175, 55, 0.1), transparent);
	clip-path: polygon(0 0, 100% 0, 100% 20%, 0 100%);
	z-index: 1;
}

.about-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.about-image {
	position: relative;
	display: flex;
	justify-content: center;
}

.portrait-frame {
	width: 450px;
	height: 450px;
	border-radius: 50%;
	border: 3px solid var(--gold);
	padding: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.portrait-frame::after {
	content: "";
	position: absolute;
	width: 480px;
	height: 480px;
	border: 1px solid var(--gold);
	border-radius: 50%;
	opacity: 0.5;
	animation: pulse-ring 3s infinite;
}

@keyframes pulse-ring {
	0% {
		transform: scale(1);
		opacity: 0.5;
	}
	50% {
		transform: scale(1.05);
		opacity: 0.3;
	}
	100% {
		transform: scale(1);
		opacity: 0.5;
	}
}

.doctor-about {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

.about-content {
	padding-left: 2rem;
}

.section-heading {
	font-size: 2.8rem;
	color: var(--white);
	margin-bottom: 2rem;
	position: relative;
	/* center headings and allow underline to match text width */
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.section-heading::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%; /* match the heading width */
	height: 3px;
	background: var(--gold);
}

.about-text {
	color: var(--light-gray);
	margin-bottom: 2rem;
	font-size: 1.1rem;
	line-height: 1.8;
}

.highlight {
	color: var(--gold);
	font-weight: 500;
}

.trust-bar {
	display: flex;
	justify-content: space-between;
	margin: 3rem 0;
	padding: 1.5rem 0;
	border-top: 1px solid rgba(212, 175, 55, 0.2);
	border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.trust-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.trust-icon {
	font-size: 2rem;
	color: var(--gold);
	margin-bottom: 0.5rem;
}

.trust-text {
	font-size: 0.9rem;
	color: var(--light-gray);
}

.quote {
	font-style: italic;
	color: var(--gold);
	font-size: 1.4rem;
	text-align: center;
	margin: 2rem 0;
	padding: 2rem;
	border-left: 3px solid var(--gold);
	background: rgba(212, 175, 55, 0.05);
}

/* Services Section */
.services {
	padding: var(--section-padding);
	position: relative;
}

/* ---------------------------------------------------------------------------
	 Services Grid (icons left, badge right)
	 - Cards use absolute positioning for icon and badge to keep layout consistent
	 - Titles are inline; descriptions hidden for compact display
 --------------------------------------------------------------------------- */

.services::before {
	content: "";
	position: absolute;
	top: -2px;
	left: 0;
	width: 100%;
	height: 100px;
	background: linear-gradient(to bottom, rgba(212, 175, 55, 0.1), transparent);
	clip-path: polygon(0 0, 100% 100%, 100% 0, 0 100%);
	z-index: 1;
}

/* ---------------------------------------------------------------------------
	 Map Section
 --------------------------------------------------------------------------- */

.services-heading {
	text-align: center;
	margin-bottom: 4rem;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.6rem;
}

.service-card {
	background: rgba(26, 18, 8, 0.72);
	border: 1px solid rgba(212, 175, 55, 0.12);
	border-radius: 14px;
	/* keep modest padding but allow content to determine height */
	padding: 0.9rem 1rem;
	transition: transform 0.36s cubic-bezier(0.2, 0.9, 0.2, 1),
		box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
	display: flex; /* default to flex so internal layout can adapt */
	flex-direction: column;
	align-items: stretch;
}

.service-card::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.03));
	opacity: 0;
	transition: opacity 0.4s ease;
}

.service-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 18px rgba(212, 175, 55, 0.06);
}

.service-card:hover::after {
	opacity: 1;
}

.service-icon {
	width: 64px;
	height: 64px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(
		180deg,
		rgba(212, 175, 55, 0.14),
		rgba(212, 175, 55, 0.06)
	);
	color: var(--gold);
	font-size: 1.4rem;
	margin-bottom: 1rem;
}

/* Ensure proper alignment of icons in the services section */
.service-card .service-icon {
	display: inline-block;
	vertical-align: middle;
	margin-inline-end: 8px; /* Adjust spacing for LTR */
}

/* Adjust spacing for RTL */
[dir="rtl"] .service-card .service-icon {
	margin-inline-end: 0;
	margin-inline-start: 8px;
}

.service-title {
	font-size: 1.25rem;
	margin-bottom: 0.6rem;
	color: var(--white);
	font-weight: 600;
}

.service-desc {
	color: var(--light-gray);
	font-size: 0.98rem;
	line-height: 1.6;
	margin-bottom: 0.6rem;
}

/* Services grid: inline layout and pill badges (high specificity to override defaults) */
.services-grid .service-card {
	/* Horizontal layout for list-style presentation; allow size to be driven by content */
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important; /* allow title to wrap onto a new line while badge stays at the end */
	align-items: center !important;
	gap: 12px;
	padding: 0.85rem 1rem !important; /* compact padding, height grows with content */
	position: relative !important;
}

.services-grid .service-icon {
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important; /* keep consistent icon size but don't absolute-position it */
	border-radius: 8px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: rgba(212, 175, 55, 0.08) !important;
	font-size: 1.05rem !important;
	margin: 0 !important; /* flow with document so card height follows content */
}

.services-grid .service-title {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 12px !important;
	flex: 1 1 auto !important; /* allow title to take available space */
	min-width: 0; /* allow text to truncate/wrap inside flex */
}

.services-grid .service-badge {
	display: inline-block !important;
	padding: 6px 10px !important;
	border-radius: 999px !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	color: #ffffff !important;
	vertical-align: middle !important;
	margin-left: auto !important; /* push badge to the far right, making card width/content determine spacing */
}

/* [dir="rtl"] .service-card .service-badge {
	margin-right: auto !important;
} */

.services-grid .service-badge.surgical {
	background-color: #c1121f !important; /* strong red */
	box-shadow: 0 6px 20px rgba(193, 18, 31, 0.18) !important;
}

.services-grid .service-badge.nonsurgical {
	background-color: #0a9a5b !important; /* strong green */
	box-shadow: 0 6px 20px rgba(10, 154, 91, 0.14) !important;
}

/* unified badge top-right */
.service-card .badge {
	/* badges flow with content by default; use margin-left:auto when we want them to sit at the end */
	position: static;
	margin-left: auto;
	background: var(--gold);
	color: #1a1208;
	padding: 0.35rem 0.6rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* responsive */
@media (max-width: 992px) {
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Prevent badge overlapping on tablets and phones */
@media (max-width: 768px) {
	.services-grid .service-title {
		/* allow title to wrap and reserve less strict space */
		display: inline-flex;
		gap: 8px;
		padding-right: 0.6rem; /* keep some room on the right but let badge align via flex */
	}

	.services-grid .service-badge {
		position: static !important; /* flow with document */
		transform: none !important;
		margin-left: auto !important; /* keep badge pushed to the right even on small screens */
		margin-top: 0.5rem !important;
		right: auto !important;
		top: auto !important;
		display: inline-block !important;
		font-size: 0.7rem !important;
		padding: 5px 8px !important;
	}

	.service-card {
		padding-right: 0.9rem !important; /* reduce reserved right padding on smaller screens */
		align-items: center !important;
	}
}

@media (max-width: 480px) {
	.services-grid {
		grid-template-columns: 1fr;
	}

	.services-grid .service-title {
		display: block;
		padding-right: 0 !important;
		word-break: break-word;
	}

	.services-grid .service-badge {
		display: inline-block !important;
		margin-top: 0.4rem !important;
		margin-left: auto !important; /* ensure badge aligns right even when title is block */
	}
}

@media (max-width: 576px) {
	.services-grid {
		grid-template-columns: 1fr;
	}
	.service-card {
		padding: 1rem;
	}
	.service-icon {
		width: 56px;
		height: 56px;
	}
}

.badge {
	position: absolute;
	top: 20px;
	right: 20px;
	background: var(--gold);
	color: #1a1208;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
}

/* Testimonials Section */
.testimonials {
	padding: var(--section-padding);
	position: relative;
	overflow: hidden;
}

.testimonials::before {
	content: "";
	position: absolute;
	top: -2px;
	left: 0;
	width: 100%;
	height: 100px;
	background: linear-gradient(to bottom, rgba(212, 175, 55, 0.1), transparent);
	clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
	z-index: 1;
}

.testimonials-heading {
	text-align: center;
	margin-bottom: 4rem;
}

.testimonial-container {
	position: relative;
	min-height: 400px; /* allow taller content while preserving layout */
	perspective: 1000px;
	margin: 0 auto;
	max-width: 900px;
}

.testimonial-card {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 70%;
	height: auto; /* allow flexible height for long testimonials */
	max-height: 360px; /* cap to avoid breaking layout */
	background: rgba(26, 18, 8, 0.8);
	border: 1px solid rgba(212, 175, 55, 0.3);
	border-radius: 15px;
	padding: 1.5rem; /* slightly reduced padding to save space */
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
	transition: transform 0.6s ease, opacity 0.6s ease, z-index 0.6s ease;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	backface-visibility: hidden;
	overflow-y: auto; /* allow internal scrolling when content is large */
	-webkit-overflow-scrolling: touch;
	/* start centered but slightly scaled down and hidden */
	transform: translate(-50%, -50%) scale(0.8);
	opacity: 0;
}

.testimonial-card.active {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
	z-index: 10;
}

.testimonial-card.prev {
	transform: translate(-150%, -50%) scale(0.8);
	opacity: 0.6;
	z-index: 5;
}

.testimonial-card.next {
	transform: translate(50%, -50%) scale(0.8);
	opacity: 0.6;
	z-index: 5;
}

.testimonial-content {
	position: relative;
}

.testimonial-content::before {
	content: '"';
	position: absolute;
	top: -40px;
	left: -20px;
	font-size: 6rem;
	color: var(--gold);
	opacity: 0.2;
	font-family: serif;
}

.testimonial-text {
	font-style: italic;
	color: var(--light-gray);
	margin-bottom: 1rem;
	font-size: 1rem;
	line-height: 1.6;
}

.testimonial-author {
	display: flex;
	align-items: center;
}

.author-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--gold);
	margin-right: 1rem;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.5rem;
	color: #1a1208;
}

.author-details {
	display: flex;
	flex-direction: column;
}

.author-name {
	font-weight: 600;
	color: var(--white);
	margin-bottom: 0.3rem;
}

.author-title {
	color: var(--dark-gray);
	font-size: 0.9rem;
}

.testimonial-nav {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
	gap: 1rem;
}

.testimonial-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(212, 175, 55, 0.3);
	cursor: pointer;
	transition: all 0.3s ease;
}

.testimonial-dot.active {
	background: var(--gold);
	transform: scale(1.2);
}

/* Mobile tweaks for testimonials (phones) */
@media (max-width: 480px) {
	.testimonials {
		padding: 3rem 1rem;
	}

	.testimonial-container {
		height: auto; /* allow cards to flow vertically */
		max-width: 100%;
		padding: 0 0.5rem;
	}

	.testimonial-card {
		position: relative; /* stack instead of absolute layering */
		left: 50%;
		top: 0;
		transform: translateX(-50%) scale(1);
		width: 92%;
		height: auto;
		padding: 1.25rem;
		margin: 0 0 1rem;
		opacity: 1;
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
	}

	.testimonial-card.prev,
	.testimonial-card.next {
		transform: translateX(-50%) scale(0.98);
		opacity: 0.95;
		z-index: 3;
		position: relative;
		left: 50%;
		top: 0;
	}

	.testimonial-content::before {
		display: none; /* hide oversized quote mark */
	}

	/* shrink badge to avoid overflow */
	.testimonial-card::before {
		top: -12px;
		left: -12px;
		width: 54px;
		height: 54px;
	}

	.testimonial-text {
		font-size: 1rem;
		line-height: 1.6;
		margin-bottom: 1rem;
	}

	.author-avatar {
		width: 48px;
		height: 48px;
		font-size: 1.1rem;
		margin-right: 0.75rem;
	}

	.testimonial-nav {
		gap: 0.5rem;
		margin-top: 1rem;
	}
}
.radialmenu {
	position: fixed;
	bottom: 11px;
	right: 10px;
	z-index: 1000;
	width: 60px;
	height: 80px;
	user-select: none;
}

.menuitem,
.menubutton {
	width: 55px;
	height: 55px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgb(51, 18, 0); /* Brand purple glass */

	color: white;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: absolute;
	transition: transform 0.28s cubic-bezier(0.77, 0, 0.175, 1),
		opacity 0.28s cubic-bezier(0.77, 0, 0.175, 1),
		background 0.22s cubic-bezier(0.77, 0, 0.175, 1);
	opacity: 0;
	pointer-events: none;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
	text-decoration: none;
}

.menuitem i {
	font-size: 24px;
}

.menubutton {
	position: relative;
	bottom: 0;
	right: 0;
	z-index: 10;
	background: rgba(61, 30, 0, 0.694);
	color: #ffea00; /* Brand purple icon */
	font-size: 30px;
	opacity: 1;
	pointer-events: auto;
	transition: transform 0.3s ease, opacity 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.3);
	transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.menubutton:hover,
.menuitem:hover {
	background: rgba(65, 31, 0, 0.25); /* Deeper glass on hover */
}

.radialmenu.open .menuitem:nth-child(1) {
	transform: translate(-170px, 5px);
	opacity: 1;
	pointer-events: auto;
	transition-delay: 0.12s;
}
.radialmenu.open .menuitem:nth-child(2) {
	transform: translate(-165px, -60px);
	opacity: 1;
	pointer-events: auto;
	transition-delay: 0.14s;
}
.radialmenu.open .menuitem:nth-child(3) {
	transform: translate(-130px, -115px);
	opacity: 1;
	pointer-events: auto;
	transition-delay: 0.16s;
}
.radialmenu.open .menuitem:nth-child(4) {
	transform: translate(-75px, -150px);
	opacity: 1;
	pointer-events: auto;
	transition-delay: 0.18s;
}
.radialmenu.open .menuitem:nth-child(5) {
	transform: translate(-10px, -160px);
	opacity: 1;
	pointer-events: auto;
	transition-delay: 0.2s;
}

.menuitem {
	transform: translate(0, 0);
}
/* Mobile carousel: keep horizontal carousel behavior on small phones */
@media (max-width: 480px) {
	.radialmenu-wrapper {
		display: block;
	}
	.testimonial-container {
		position: relative;
		height: 320px;
		perspective: 800px;
		max-width: 100%;
		padding: 0;
		margin: 0 auto;
		overflow: visible;
	}

	.testimonial-card,
	.testimonial-card.active,
	.testimonial-card.prev,
	.testimonial-card.next {
		position: absolute !important;
		left: 50% !important;
		top: 50% !important;
		width: 85% !important;
		height: 280px !important;
		padding: 1rem !important;
		transform: translate(-50%, -50%) scale(0.88) !important;
		opacity: 0 !important;
		transition: transform 0.45s ease, opacity 0.45s ease !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
		backface-visibility: hidden !important;
	}

	.testimonial-card.active {
		transform: translate(-50%, -50%) scale(1) !important;
		opacity: 1 !important;
	}

	.testimonial-card.prev {
		transform: translate(-160%, -50%) scale(0.8) !important;
		opacity: 0.5 !important;
	}

	.testimonial-card.next {
		transform: translate(60%, -50%) scale(0.8) !important;
		opacity: 0.5 !important;
	}

	.testimonial-content::before {
		font-size: 4.5rem !important;
		top: -34px !important;
		left: -20px !important;
		opacity: 0.18 !important;
	}

	.testimonial-text {
		font-size: 1rem !important;
		line-height: 1.6 !important;
	}

	.testimonial-nav {
		margin-top: 1rem !important;
	}
}

/* Map Section (appended) */
.map-section {
	padding-bottom: 0; /* remove bottom gap so map can touch footer */
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.02),
		rgba(255, 255, 255, 0.01)
	);
}
.map-container {
	width: 100%;
}
.map-frame {
	width: 100vw;
	height: 450px;
	border: none;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ---------------------------------------------------------------------------
	 Footer & Bottom bar
 --------------------------------------------------------------------------- */

/* Decorative separators to match other sections */
.map-section::before {
	content: "";
	position: absolute;
	top: -2px;
	left: 0;
	width: 100%;
	height: 100px;
	background: linear-gradient(to bottom, rgba(205, 163, 28, 0.28), transparent);
	clip-path: polygon(0 0, 100% 100%, 100% 0);
	z-index: 1;
}

.map-bleed {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.map-bleed .map-frame {
	border-radius: 0; /* flush to edges */
	box-shadow: none;
}

@media (max-width: 992px) {
	.map-frame {
		height: 420px;
	}
}

/* Tablet / small laptop: keep single centered testimonial (iPad mini, tablets) */
@media (min-width: 481px) and (max-width: 1024px) {
	.testimonials {
		padding: 4rem 1rem;
	}

	.testimonial-container {
		position: relative;
		height: 360px;
		max-width: 760px;
		margin: 0 auto;
	}

	.testimonial-card {
		position: absolute;
		left: 50%;
		top: 50%;
		width: 75%;
		height: 300px;
		padding: 1.5rem;
		transform: translate(-50%, -50%) scale(0.88);
		opacity: 0;
		transition: transform 0.45s ease, opacity 0.45s ease;
		display: flex;
		flex-direction: column;
		justify-content: center;
		backface-visibility: hidden;
	}

	.testimonial-card.active {
		transform: translate(-50%, -50%) scale(1);
		opacity: 1;
		z-index: 10;
	}

	.testimonial-card.prev {
		transform: translate(-160%, -50%) scale(0.84);
		opacity: 0.5;
		z-index: 5;
	}

	.testimonial-card.next {
		transform: translate(60%, -50%) scale(0.84);
		opacity: 0.5;
		z-index: 5;
	}

	.testimonial-content::before {
		top: -34px;
		left: -18px;
		font-size: 5.2rem;
	}

	.testimonial-text {
		font-size: 1.05rem;
		line-height: 1.75;
	}

	.testimonial-nav {
		margin-top: 1.5rem;
	}
}
/* =============================================================================
			   VIDEO SECTION STYLING - FIXED AND ENHANCED
			   ============================================================================= */
.videos {
	padding: 180px 0;
	position: relative;
	overflow: hidden;
	background: linear-gradient(to bottom, #2e2218, #2d1700);
}

.videos::before {
	content: "";
	position: absolute;
	top: -2px;
	left: 0;
	width: 100%;
	height: 100px;
	background: linear-gradient(to bottom, rgba(205, 163, 28, 0.4), transparent);
	clip-path: polygon(0 0, 100% 100%, 100% 0);
	z-index: 1;
}

.videos-heading {
	text-align: center;
	margin-bottom: 1rem;
}

.videos-subheading {
	text-align: center;
	color: #ffffff;
	margin-bottom: 3rem;
	font-size: 1.2rem;
}

/* Carousel Container */
.video-carousel {
	position: relative;
	height: 700px;
	perspective: 1200px;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	margin: 0 auto;
	max-width: 1200px;
}

/* Video Cards */
.video-item {
	width: 280px;
	height: 500px; /* Instagram Reels ratio ~9:16 */
	border-radius: 20px;
	overflow: hidden;
	position: absolute;
	left: 50%;
	top: 50%;
	transform-style: preserve-3d;
	backface-visibility: hidden;
	transition: all 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
	background: #000;
	cursor: pointer;
	z-index: 1;
}

.video-item video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 20px;
}

/* Active + Adjacent states */
.video-item.active {
	transform: translate(-50%, -50%) scale(1.15) translateZ(100px);
	opacity: 1;
	z-index: 50;
}

.video-item.prev {
	transform: translate(-120%, -50%) scale(0.85) rotateY(15deg) translateZ(-50px);
	opacity: 0.7;
	z-index: 30;
	filter: brightness(0.7);
}

.video-item.next {
	transform: translate(20%, -50%) scale(0.85) rotateY(-15deg) translateZ(-50px);
	opacity: 0.7;
	z-index: 30;
	filter: brightness(0.7);
}

.video-item.inactive {
	opacity: 0;
	z-index: 1;
	transform: translate(-50%, -50%) scale(0.7) translateZ(-200px);
}

/* Nav Buttons */
.video-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(212, 175, 55, 0.9);
	color: #1a1208;
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.5rem;
	z-index: 100;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-nav:hover {
	background: #d4af37;
	box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
	transform: translateY(-50%) scale(1.1);
}

.video-nav.prev {
	left: 5%;
	right: auto;
}

.video-nav.next {
	right: 5%;
	left: auto;
}
/* Prevent video navigation buttons from switching in RTL/LTR */
[dir="rtl"] .video-nav.prev,
[dir="ltr"] .video-nav.prev {
	left: 5% !important;
	right: auto !important;
}
[dir="rtl"] .video-nav.next,
[dir="ltr"] .video-nav.next {
	right: 5% !important;
	left: auto !important;
}

/* Dots */
.video-dots {
	position: absolute;
	bottom: -50px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
	z-index: 10;
}

.video-dots .dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: rgba(212, 175, 55, 0.4);
	cursor: pointer;
	transition: all 0.3s ease;
}

.video-dots .dot.active {
	background: #d4af37;
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

/* Video playing state */
.video-item.playing {
	transform: translate(-50%, -50%) scale(1.25) translateZ(150px);
	z-index: 60;
	box-shadow: 0 30px 70px rgba(212, 175, 55, 0.5),
		0 0 0 4px rgba(212, 175, 55, 0.4);
}

/* Responsive adjustments */
@media (max-width: 992px) {
	.video-carousel {
		height: 450px;
	}

	.video-item {
		width: 240px;
		height: 425px;
	}

	.video-nav {
		width: 45px;
		height: 45px;
	}

	.video-nav.prev {
		left: 3%;
	}

	.video-nav.next {
		right: 3%;
	}
}

@media (max-width: 768px) {
	.video-carousel {
		height: 400px;
	}
	.radialmenu-wrapper {
		display: block;
	}
	.video-item {
		width: 200px;
		height: 355px;
	}

	.video-item.active {
		transform: translate(-50%, -50%) scale(1.1) translateZ(80px);
	}

	.video-item.playing {
		transform: translate(-50%, -50%) scale(1.15) translateZ(100px);
	}

	.video-nav {
		width: 40px;
		height: 40px;
		font-size: 1.2rem;
	}
}

@media (max-width: 576px) {
	.video-carousel {
		height: 450px;
	}

	.video-item {
		width: 160px;
		height: 285px;
	}

	.video-item.prev {
		transform: translate(-140%, -50%) scale(0.8) rotateY(15deg)
			translateZ(-50px);
	}

	.video-item.next {
		transform: translate(40%, -50%) scale(0.8) rotateY(-15deg) translateZ(-50px);
	}

	.video-nav {
		width: 35px;
		height: 35px;
		font-size: 1rem;
	}

	.video-nav.prev {
		left: 2%;
	}

	.video-nav.next {
		right: 2%;
	}
	.radialmenu-wrapper {
		display: block;
	}
}

/* Footer */
footer {
	background: rgba(20, 15, 8, 0.95);
	padding: 2rem 0 2rem;
	position: relative;
}

.footer-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
	/* Align footer columns vertically to the top so headings and lists line up */
	align-items: center;
}

.footer-col {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.footer-col h3 {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	color: var(--gold);
}

.footer-col p {
	color: var(--light-gray);
	margin-bottom: 1.5rem;
	line-height: 1.8;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 1rem;
}

.footer-links a {
	color: var(--light-gray);
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	padding-left: 1.5rem;
}
[dir="rtl"] .footer-links a {
	padding-left: 0;
	padding-right: 1.5rem;
}

.footer-links a::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--gold);
	transition: transform 0.3s ease;
}
[dir="rtl"] .footer-links a::before {
	content: "←";
	left: auto;
	right: 0;
}

.footer-links a:hover {
	color: var(--gold);
}

.footer-links a:hover::before {
	transform: translateX(5px);
}

.contact-info {
	list-style: none;
}

.contact-info li {
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	color: var(--light-gray);
}

.contact-info i {
	margin-right: 1rem;
	color: var(--gold);
	font-size: 1.2rem;
	width: 20px;
}

.social-links {
	display: flex;
	gap: 1rem;
	margin-top: 1.5rem;
}

.social-links a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--gold);
	color: var(--gold);
	text-decoration: none;
	transition: all 0.3s ease;
}

.social-links a:hover {
	background: var(--gold);
	color: #1a1208;
	box-shadow: 0 0 15px var(--gold-glow);
}

.footer-bottom {
	text-align: center;
	margin-top: 4rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(212, 175, 55, 0.2);
	color: var(--dark-gray);
	font-size: 0.9rem;
}

/* Ensure footer-bottom remains unaffected by direction changes */
.footer-bottom {
	direction: ltr !important;
}

/* Floating Widgets */
.whatsapp-widget {
	position: fixed;
	bottom: 30px;
	left: 30px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgb(0, 163, 0);
	color: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.8rem;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	z-index: 999;
	transition: all 0.3s ease;
}

.whatsapp-widget:hover {
	transform: scale(1.1);
	background: #ffffff;
	color: rgb(0, 163, 0);
}

.language-toggle {
	position: fixed;
	right: 10px;
	left: auto;
	width: 60px;
	height: 60px;
	margin: 0 10px;
	/* Switch language-toggle position for RTL */
	[dir="rtl"] .language-toggle {
		left: 10px;
		right: auto;
	}
	border-radius: 50%;
	border: 2px solid var(--gold);
	background: rgba(26, 18, 8, 0.8);
	color: var(--gold);
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 600;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	z-index: 999;
	transition: all 0.3s ease;
	cursor: pointer;
}

.language-toggle:hover {
	background: var(--gold);
	color: #1a1208;
	box-shadow: 0 0 25px var(--gold-glow);
}

/* Responsive Design */
@media (max-width: 1200px) {
	.hero-heading {
		font-size: 3rem;
	}

	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 992px) {
	.hero-content {
		grid-template-columns: 1fr;
		gap: 3rem;
		text-align: center;
	}

	.hero-text {
		padding-right: 0;
	}

	.hero-cta {
		justify-content: center;
	}

	.about-container {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.about-content {
		padding-left: 0;
		text-align: center;
	}

	.section-heading::after {
		left: 50%;
		transform: translateX(-50%);
	}

	.trust-bar {
		flex-wrap: wrap;
		gap: 1.5rem;
	}

	.trust-item {
		flex: 0 0 calc(50% - 1rem);
	}

	.footer-container {
		grid-template-columns: 1fr 1fr;
	}

	.footer-col:last-child {
		grid-column: span 2;
		margin-top: 2rem;
	}
}

@media (max-width: 768px) {
	.nav-links {
		display: none;
	}

	.mobile-menu-btn {
		display: block;
	}

	.hero-heading {
		font-size: 2.5rem;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}

	.featured {
		grid-column: span 1;
	}

	.testimonial-card {
		width: 90%;
	}

	.footer-container {
		grid-template-columns: 1fr;
	}

	.footer-col:last-child {
		grid-column: span 1;
	}

	.trust-item {
		flex: 0 0 100%;
	}
}

@media (max-width: 576px) {
	.hero-heading {
		font-size: 2rem;
	}

	.hero-cta {
		flex-direction: column;
	}

	.btn {
		width: 100%;
		text-align: center;
	}

	.portrait-frame {
		width: 280px;
		height: 280px;
	}

	.portrait-frame::after {
		width: 300px;
		height: 300px;
	}

	.video-hero {
		height: 300px;
	}
}
.IP {
	color: rgb(132, 0, 255);
	text-decoration: none;
	font-size: 19px;
}
.white {
	color: white;
}

/* Adjust map section to be full screen width */
.map-section {
	margin: 0;
	padding: 0;
}
.map-container {
	width: 100vw;
	margin-left: calc(50% - 50vw); /* Ensure full-bleed */
	margin-right: calc(50% - 50vw);
}
.map-frame {
	border-radius: 0; /* Remove border radius for full-width */
	box-shadow: none; /* Remove shadow for seamless integration */
}
