/* =========================================================================
   Dr Essam Eldien — custom styles
   Brand: blue #1f6fb2 / dark #15486f, WhatsApp green #25d366 / CTA #0b7c3f
   ========================================================================= */

:root {
	--dre-blue: #1f6fb2;
	--dre-blue-dark: #15486f;
	--dre-bg-soft: #e8f4fb;
	--dre-green: #0b7c3f;
	--dre-wa: #25d366;
	--dre-wa-dark: #1da851;
	--dre-text: #1f2933;
	--dre-muted: #6b7682;
}

/* -------- Floating WhatsApp button -------- */
.dre-wa-float {
	position: fixed;
	bottom: 22px;
	inset-inline-end: 22px; /* right in LTR, left auto-flips in RTL */
	z-index: 9999;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--dre-wa);
	color: #fff !important;
	padding: 12px 18px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
	transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.dre-wa-float:hover {
	background: var(--dre-wa-dark);
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
	color: #fff !important;
}
.dre-wa-float svg { flex: 0 0 auto; }

/* Pulse ring to draw the eye */
.dre-wa-float::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50px;
	box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
	animation: dre-wa-pulse 2.2s infinite;
}
@keyframes dre-wa-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
	70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
	100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* On small screens, collapse to icon-only to save space */
@media (max-width: 600px) {
	.dre-wa-float-text { display: none; }
	.dre-wa-float { padding: 14px; bottom: 16px; inset-inline-end: 16px; }
}

/* -------- Inline CTA button ([wa_button]) -------- */
.dre-wa-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--dre-green);
	color: #fff !important;
	padding: 14px 28px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(11, 124, 63, 0.25);
	transition: background .18s ease, transform .18s ease;
}
.dre-wa-btn::before {
	content: "";
	width: 20px; height: 20px;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='white'><path d='M16 .4C7.4.4.4 7.4.4 16c0 2.8.7 5.5 2.1 7.9L.3 31.6l7.9-2.1c2.3 1.3 4.9 1.9 7.6 1.9h.1c8.6 0 15.6-7 15.6-15.6C31.6 7.4 24.6.4 16 .4z'/></svg>") no-repeat center / contain;
}
.dre-wa-btn:hover { background: var(--dre-wa-dark); transform: translateY(-1px); color: #fff !important; }

/* -------- Section banner (matches the Word doc blue headers) -------- */
.dre-section-banner {
	background: var(--dre-blue);
	color: #fff;
	padding: 14px 22px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 1.5rem;
	margin: 2rem 0 1rem;
}

/* -------- Trust bar (under hero) -------- */
.dre-trust-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
	padding: 18px;
	background: var(--dre-bg-soft);
	border-radius: 10px;
}
.dre-trust-bar .item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--dre-blue-dark);
}

/* -------- FAQ ([faq]/[q]) -------- */
.dre-faq-item {
	border: 1px solid #dbe6ef;
	border-radius: 8px;
	margin-bottom: 10px;
	padding: 4px 16px;
	background: #fff;
}
.dre-faq-item summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--dre-blue-dark);
	padding: 12px 0;
	list-style: none;
}
.dre-faq-item summary::-webkit-details-marker { display: none; }
.dre-faq-item summary::after { content: "＋"; float: inline-end; color: var(--dre-blue); }
.dre-faq-item[open] summary::after { content: "－"; }
.dre-faq-answer { padding: 0 0 14px; color: var(--dre-text); line-height: 1.8; }

/* -------- Page content helpers -------- */
.dre-lead {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--dre-blue-dark);
	line-height: 1.9;
	margin-bottom: 1.4rem;
}
.dre-doctor-photo {
	float: inline-start;
	max-width: 280px;
	width: 40%;
	min-width: 200px;
	border-radius: 12px;
	margin: 0 0 1rem 1.5rem;
	margin-inline-end: 1.5rem;
	margin-inline-start: 0;
	box-shadow: 0 8px 24px rgba(31, 111, 178, 0.18);
}
@media (max-width: 600px) {
	.dre-doctor-photo { float: none; width: 100%; max-width: 100%; margin-inline-end: 0; }
}
.dre-disclaimer {
	font-size: .9rem;
	color: var(--dre-muted);
	border-inline-start: 3px solid #dbe6ef;
	padding-inline-start: 12px;
	margin-top: 2rem;
}

/* -------- Service cards (home "نظرة سريعة على الخدمات") -------- */
.dre-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}
.dre-card {
	border: 1px solid #e1ecf5;
	border-radius: 12px;
	padding: 22px;
	text-align: center;
	transition: box-shadow .18s ease, transform .18s ease;
	background: #fff;
}
.dre-card:hover { box-shadow: 0 8px 22px rgba(31, 111, 178, 0.14); transform: translateY(-3px); }
.dre-card h3 { color: var(--dre-blue-dark); margin: 10px 0; }
