/*
Template:       finbuzz
Theme Name:     Finbuzz Child Theme
Theme URI:      https://rahalistatravels.com
Author:         RadiusTheme
Author URI:     http://radiustheme.com
Description:    Finbuzz child theme, customised for Rahalista Tourism Investment. Brand palette, bilingual typography (Alexandria / Montserrat) and RTL-first refinements.
Version:        1.2
Text Domain:    finbuzz
Tags: one-column, two-columns, right-sidebar, custom-background, custom-header, editor-style, featured-images, post-formats, sticky-post, threaded-comments, translation-ready
License:   	  Envato split License
License URI:  https://themeforest.net/licenses/terms/regular
*/

/* ==========================================================================
   1. Brand tokens
   Sampled from the Rahalista logo: cyan wordmark over a deep-blue bird.
   ========================================================================== */

:root {
	--rh-blue:        #1E56A8;
	--rh-blue-dark:   #12306B;
	--rh-blue-deep:   #0C2751;
	--rh-cyan:        #2BBFF0;
	--rh-cyan-deep:   #0FA3E0;
	--rh-cyan-soft:   #E8F6FE;
	--rh-ink:         #4A5568;
	--rh-ink-soft:    #6B7A90;
	--rh-rule:        #E4EAF3;
	--rh-surface:     #F5F8FC;

	--rh-gradient:    linear-gradient(135deg, var(--rh-cyan) 0%, var(--rh-blue) 100%);
	--rh-shadow:      0 18px 40px -22px rgba(18, 48, 107, .45);
	--rh-shadow-lift: 0 26px 55px -24px rgba(18, 48, 107, .55);
	--rh-radius:      14px;
}

/* ==========================================================================
   2. Typography
   Alexandria on Arabic, Montserrat on English. The extra html[lang] qualifier
   is deliberate: it outranks the theme's inline typography CSS.
   ========================================================================== */

html[lang^="ar"] body,
html[lang^="ar"] button,
html[lang^="ar"] input,
html[lang^="ar"] select,
html[lang^="ar"] textarea,
html[lang^="ar"] .elementor-widget-container {
	font-family: "Alexandria", "Segoe UI", Tahoma, sans-serif;
}

html[lang^="ar"] h1, html[lang^="ar"] h2, html[lang^="ar"] h3,
html[lang^="ar"] h4, html[lang^="ar"] h5, html[lang^="ar"] h6,
html[lang^="ar"] .elementor-heading-title,
html[lang^="ar"] .rt-title,
html[lang^="ar"] .main-menu ul li a {
	font-family: "Alexandria", "Segoe UI", Tahoma, sans-serif;
	letter-spacing: 0;
}

html[lang^="en"] body,
html[lang^="en"] button,
html[lang^="en"] input,
html[lang^="en"] select,
html[lang^="en"] textarea,
html[lang^="en"] .elementor-widget-container {
	font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
}

html[lang^="en"] h1, html[lang^="en"] h2, html[lang^="en"] h3,
html[lang^="en"] h4, html[lang^="en"] h5, html[lang^="en"] h6,
html[lang^="en"] .elementor-heading-title,
html[lang^="en"] .rt-title,
html[lang^="en"] .main-menu ul li a {
	font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
}

/* Arabic needs a little more leading than Latin to stay readable. */
html[lang^="ar"] body {
	line-height: 1.95;
}

html[lang^="ar"] h1, html[lang^="ar"] h2, html[lang^="ar"] h3 {
	line-height: 1.5;
}

html[lang] h1, html[lang] h2, html[lang] h3,
html[lang] h4, html[lang] h5, html[lang] h6 {
	color: var(--rh-blue-dark);
}

html[lang] body {
	color: var(--rh-ink);
	-webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   3. Header
   ========================================================================== */

.header-top-bar {
	background: var(--rh-blue-deep);
	font-size: 14px;
}

.header-top-bar a:hover {
	color: var(--rh-cyan);
}

.header-menu .main-menu > ul > li > a {
	font-weight: 600;
	letter-spacing: .01em;
}

.header-menu .main-menu > ul > li > a:hover,
.header-menu .main-menu > ul > li.current-menu-item > a,
.header-menu .main-menu > ul > li.current-menu-ancestor > a {
	color: var(--rh-blue);
}

.header-menu .main-menu ul li ul.sub-menu {
	border-top: 3px solid var(--rh-cyan);
	box-shadow: var(--rh-shadow);
	border-radius: 0 0 10px 10px;
	overflow: hidden;
}

/* Language switcher, appended to the primary menu. */
.main-menu .rh-lang-item > a {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	padding-inline: 16px !important;
	border: 1px solid var(--rh-rule);
	border-radius: 999px;
	line-height: 2.1;
	font-weight: 600;
	color: var(--rh-blue) !important;
	transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.main-menu .rh-lang-item > a:hover {
	background: var(--rh-blue);
	border-color: var(--rh-blue);
	color: #fff !important;
}

.main-menu .rh-lang-item > a::before {
	content: "";
	width: 15px;
	height: 15px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 2c1.3 0 2.7 2.2 3.2 5H8.8C9.3 6.2 10.7 4 12 4ZM4.3 9h3.3a22 22 0 0 0 0 6H4.3a8 8 0 0 1 0-6Zm.9 8h2.7c.4 1.5 1 2.8 1.7 3.7A8 8 0 0 1 5.2 17ZM7.6 7H4.9a8 8 0 0 1 4.7-3.7C8.9 4.2 8.3 5.5 7.9 7Zm2 8a20 20 0 0 1 0-6h6.8a20 20 0 0 1 0 6H9.6Zm2.4 5c-1.3 0-2.7-2.2-3.2-5h6.4c-.5 2.8-1.9 5-3.2 5Zm2.4-.3c.7-.9 1.3-2.2 1.7-3.7h2.7a8 8 0 0 1-4.4 3.7ZM16.4 15a22 22 0 0 0 0-6h3.3a8 8 0 0 1 0 6h-3.3Zm-.3-8c-.4-1.5-1-2.8-1.7-3.7A8 8 0 0 1 19.1 7h-3Z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 2c1.3 0 2.7 2.2 3.2 5H8.8C9.3 6.2 10.7 4 12 4ZM4.3 9h3.3a22 22 0 0 0 0 6H4.3a8 8 0 0 1 0-6Zm.9 8h2.7c.4 1.5 1 2.8 1.7 3.7A8 8 0 0 1 5.2 17ZM7.6 7H4.9a8 8 0 0 1 4.7-3.7C8.9 4.2 8.3 5.5 7.9 7Zm2 8a20 20 0 0 1 0-6h6.8a20 20 0 0 1 0 6H9.6Zm2.4 5c-1.3 0-2.7-2.2-3.2-5h6.4c-.5 2.8-1.9 5-3.2 5Zm2.4-.3c.7-.9 1.3-2.2 1.7-3.7h2.7a8 8 0 0 1-4.4 3.7ZM16.4 15a22 22 0 0 0 0-6h3.3a8 8 0 0 1 0 6h-3.3Zm-.3-8c-.4-1.5-1-2.8-1.7-3.7A8 8 0 0 1 19.1 7h-3Z'/%3E%3C/svg%3E") center / contain no-repeat;
	flex: none;
}

/* ==========================================================================
   4. Page banner
   ========================================================================== */

.rt-page-banner .banner-title {
	font-weight: 700;
	text-shadow: 0 2px 18px rgba(6, 24, 56, .35);
}

.rt-page-banner::after {
	background: linear-gradient(180deg, rgba(12, 39, 81, .55) 0%, rgba(12, 39, 81, .82) 100%);
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

html[lang] .rt-btn,
html[lang] .elementor-button,
html[lang] .wp-block-button__link,
html[lang] .fluentform .ff-btn-submit {
	border-radius: 999px;
	font-weight: 600;
	letter-spacing: .01em;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

html[lang] .rt-btn:hover,
html[lang] .elementor-button:hover,
html[lang] .fluentform .ff-btn-submit:hover {
	transform: translateY(-2px);
	box-shadow: var(--rh-shadow-lift);
}

/* ==========================================================================
   6. Cards and sections
   ========================================================================== */

.rh-card {
	background: #fff;
	border: 1px solid var(--rh-rule);
	border-radius: var(--rh-radius);
	box-shadow: var(--rh-shadow);
	height: 100%;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.rh-card:hover {
	transform: translateY(-6px);
	border-color: transparent;
	box-shadow: var(--rh-shadow-lift);
}

/* Small caps label above a section heading. */
.rh-eyebrow .elementor-heading-title,
.rh-eyebrow {
	display: inline-block;
	color: var(--rh-cyan-deep);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

html[lang^="ar"] .rh-eyebrow .elementor-heading-title,
html[lang^="ar"] .rh-eyebrow {
	letter-spacing: 0;
	text-transform: none;
	font-size: 15px;
}

.rh-surface {
	background: var(--rh-surface);
}

/* ==========================================================================
   7. Footer
   ========================================================================== */

.footer-top-address .address-box {
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .10);
	border-radius: var(--rh-radius);
	padding: 28px 30px;
	height: 100%;
	backdrop-filter: blur(2px);
}

.footer-top-address .address-title {
	font-size: 18px;
	margin-bottom: 12px;
	color: #fff;
}

.footer-top-address .address-info p {
	margin-bottom: 6px;
}

.footer-top-address .address-info a:hover {
	color: var(--rh-cyan);
}

.footer-area .widget-title,
.footer-area .widgettitle {
	position: relative;
	padding-bottom: 14px;
	margin-bottom: 22px;
}

.footer-area .widget-title::after,
.footer-area .widgettitle::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	bottom: 0;
	width: 46px;
	height: 3px;
	border-radius: 3px;
	background: var(--rh-gradient);
}

.footer-area .menu li a {
	display: inline-block;
	padding: 5px 0;
	transition: transform .25s ease, color .25s ease;
}

.footer-area .menu li a:hover {
	color: var(--rh-cyan);
	transform: translateX(-4px);
}

html[dir="ltr"] .footer-area .menu li a:hover {
	transform: translateX(4px);
}

.copyright-area {
	border-top: 1px solid rgba(255, 255, 255, .10);
}

/* ==========================================================================
   8. Forms
   ========================================================================== */

.fluentform .ff-el-form-control {
	border: 1px solid var(--rh-rule);
	border-radius: 10px;
	padding: 14px 18px;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.fluentform .ff-el-form-control:focus {
	border-color: var(--rh-cyan);
	box-shadow: 0 0 0 4px rgba(43, 191, 240, .18);
	outline: none;
}

.fluentform .ff-el-input--label label {
	font-weight: 600;
	color: var(--rh-blue-dark);
}

/* ==========================================================================
   9. Media
   ========================================================================== */

.rh-media img {
	border-radius: var(--rh-radius);
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Elementor galleries: even tiles, gentle zoom. */
.rh-gallery .elementor-image-gallery .gallery-item img,
.rh-gallery .e-gallery-image {
	border-radius: var(--rh-radius);
	transition: transform .5s ease;
}

.rh-gallery .gallery-item:hover img {
	transform: scale(1.05);
}

/* ==========================================================================
   10. Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html[lang] .rt-btn,
	html[lang] .elementor-button,
	.rh-card,
	.rh-gallery .gallery-item img,
	.footer-area .menu li a {
		transition: none;
	}

	html[lang] .rt-btn:hover,
	html[lang] .elementor-button:hover,
	.rh-card:hover,
	.rh-gallery .gallery-item:hover img {
		transform: none;
	}
}

/* ==========================================================================
   11. Neutralise the theme's stock decoration
   Finbuzz ships orange confetti PNGs baked into the footer and banner. They
   fight the blue palette, so they are removed rather than recoloured — a
   hue-rotate filter cannot be trusted across the whole sprite set.
   ========================================================================== */

.footer-top-address .figure-img1,
.footer-top-address .figure-img2,
.footer-area .figure-img1,
.footer-area .figure-img2,
.entry-banner .banner-element,
.entry-banner .banner-element2 {
	display: none !important;
}

/* The footer band reads better with a soft brand wash than the stock pattern. */
.footer-top-address {
	position: relative;
	background: linear-gradient(135deg, #12306B 0%, #0C2751 100%);
}

.footer-top-address::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(58% 120% at 88% 0%, rgba(43, 191, 240, .20) 0%, transparent 62%),
		radial-gradient(46% 100% at 6% 100%, rgba(30, 86, 168, .32) 0%, transparent 60%);
	pointer-events: none;
}

.footer-top-address > .container {
	position: relative;
	z-index: 1;
}

/* Inner-page banner: a brand-tinted duotone rather than flat black. */
.entry-banner::after {
	background: linear-gradient(135deg, rgba(12, 39, 81, .88) 0%, rgba(18, 48, 107, .72) 45%, rgba(30, 86, 168, .68) 100%) !important;
}

.entry-banner {
	background-position: center center;
	background-size: cover;
}

.entry-banner .entry-banner-content {
	position: relative;
	z-index: 2;
	padding-top: 132px;
	padding-bottom: 132px;
}

.entry-banner .entry-banner-content h1 {
	font-size: clamp(30px, 4vw, 46px);
	margin-bottom: 12px;
}

@media (max-width: 767px) {
	.entry-banner .entry-banner-content {
		padding-top: 88px;
		padding-bottom: 88px;
	}
}

/* The theme hardcodes an orange dash before each footer address title. */
.footer-style-2 .footer-top-address .address-box .address-title:before {
	background-color: var(--rh-cyan) !important;
}

.footer-style-2 .footer-top-address .address-box .address-title:after {
	background-color: var(--rh-blue) !important;
}

/* Finbuzz decoration sprites (assets/element/figure*.png) are drawn in the
   demo's orange. Rotating the hue to the brand blue keeps the theme's visual
   language without shipping recoloured copies of every sprite. */
img[src*="/assets/element/"] {
	filter: hue-rotate(198deg) saturate(.8);
}

/* The two confetti overlays sit directly behind the footer address cards and
   read as scribbles at this size — drop them entirely. */
.footer-top-address .color-overlay1,
.footer-top-address .color-overlay2,
.footer-area .color-overlay1,
.footer-area .color-overlay2 {
	display: none !important;
}

/* ==========================================================================
   12. Page composition helpers
   Classes referenced by the Elementor page data.
   ========================================================================== */

/* Section lede paragraph under a heading. */
.rh-lede .elementor-widget-container,
.rh-lede {
	max-width: 76ch;
	margin-inline: auto;
	color: var(--rh-ink-soft);
}

/* Hero: the artworked banner runs edge to edge. */
.rh-hero .elementor-widget-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* Cards clip their media, so a photo at the top of a card gets the same
   rounded corner as the card itself. */
.rh-card {
	overflow: hidden;
}

.rh-city-card .elementor-image-box-img img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 0;
}

.rh-city-card .elementor-image-box-content {
	padding-inline: 26px;
	padding-top: 20px;
}

.rh-city-card .elementor-image-box-img {
	margin-bottom: 0 !important;
}

/* Image-box cards: icon, title, copy. */
.elementor-widget-image-box .elementor-image-box-title {
	margin-bottom: 8px;
}

.elementor-widget-image-box .elementor-image-box-description {
	color: var(--rh-ink-soft);
}

/* The contact form sits on a white card. */
.rh-form-card {
	background: #fff;
	border: 1px solid var(--rh-rule);
	box-shadow: var(--rh-shadow);
}

.rh-form-card .fluentform {
	--ff-primary: var(--rh-blue);
}

.rh-form-card .ff-el-group {
	margin-bottom: 18px;
}

/* Tip accordion on the Hajj page. */
.rh-accordion .elementor-accordion-item {
	border: 1px solid var(--rh-rule) !important;
	border-radius: 12px;
	margin-bottom: 12px;
	overflow: hidden;
	background: #fff;
}

.rh-accordion .elementor-tab-title {
	padding: 18px 22px;
	font-weight: 600;
}

.rh-accordion .elementor-tab-title.elementor-active {
	background: var(--rh-cyan-soft);
}

.rh-accordion .elementor-tab-content {
	border-top: 1px solid var(--rh-rule) !important;
	padding: 18px 22px 22px;
}

/* Contact detail cards: circular icon badge. */
.rh-card .elementor-widget-icon .elementor-icon {
	background: var(--rh-blue);
	color: #fff;
}

/* Agents strip. */
.rh-agents .elementor-widget-image img {
	max-width: 190px;
	margin-inline: auto;
}

/* Some source photographs are portrait (the Green Mountain hero is 719x1280).
   Cap the height so a tall image cannot dictate the height of its whole row. */
.rh-media img {
	max-height: 520px;
	object-fit: cover;
	width: 100%;
}

@media (max-width: 767px) {
	.rh-media img {
		max-height: 320px;
	}
}
