/**
 * Raayah Media - Premium Frontend Styles
 */

/* ========== FONTS & RESET ========== */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
	--raayah-bg-dark:    #0A0F1E;
	--raayah-bg-panel:   #0F172A;
	--raayah-bg-card:    rgba(15, 23, 42, 0.8);
	--raayah-blue:       #38BDF8;
	--raayah-purple:     #818CF8;
	--raayah-green:      #34D399;
	--raayah-orange:     #FB923C;
	--raayah-text:       #E2E8F0;
	--raayah-text-muted: #94A3B8;
	--raayah-border:     rgba(255, 255, 255, 0.08);
	--raayah-btn:        #1A56DB;
	--raayah-btn-hover:  #1D4ED8;
	--radius-card:       20px;
	--radius-btn:        12px;
}

html { scroll-behavior: smooth; }

body {
	font-family: 'Tajawal', sans-serif;
	background-color: var(--raayah-bg-dark);
	color: var(--raayah-text);
	line-height: 1.7;
	direction: rtl;
	overflow-x: hidden;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.25; color: #fff; }
p { color: var(--raayah-text-muted); }
a { color: var(--raayah-blue); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--raayah-purple); }

/* ========== GLASSMORPHISM CARD ========== */
.glass-card {
	position: relative;
	background: rgba(15, 23, 42, 0.7);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--raayah-border);
	border-radius: var(--radius-card);
	padding: 36px;
	overflow: hidden;
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
	            box-shadow 0.4s ease,
	            border-color 0.4s ease;
}
.glass-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	border-color: rgba(56, 189, 248, 0.25);
}
.glass-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
}

/* ========== BUTTONS ========== */
.raayah-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 30px;
	border-radius: var(--radius-btn);
	font-weight: 700;
	font-size: 16px;
	border: none;
	cursor: pointer;
	transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	overflow: hidden;
	font-family: 'Tajawal', sans-serif;
}
.raayah-btn::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255,255,255,0.1);
	opacity: 0;
	transition: opacity 0.3s;
}
.raayah-btn:hover::after { opacity: 1; }

.raayah-btn-primary {
	background: linear-gradient(135deg, #1A56DB, #1D4ED8);
	color: #fff;
	box-shadow: 0 4px 20px rgba(26, 86, 219, 0.4);
}
.raayah-btn-primary:hover {
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(26, 86, 219, 0.6);
}
.raayah-btn-secondary {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.12);
}
.raayah-btn-secondary:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	transform: translateY(-3px);
}
.raayah-btn-whatsapp {
	background: linear-gradient(135deg, #25D366, #128C7E);
	color: #fff;
	box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}
.raayah-btn-whatsapp:hover {
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ========== SECTION HEADER ========== */
.raayah-section-header { text-align: center; margin-bottom: 64px; }
.raayah-section-header .sub-label {
	display: inline-block;
	background: rgba(56, 189, 248, 0.12);
	color: var(--raayah-blue);
	border: 1px solid rgba(56, 189, 248, 0.25);
	padding: 6px 20px;
	border-radius: 99px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	margin-bottom: 20px;
}
.raayah-section-header h2 { font-size: 42px; margin-bottom: 16px; }
.raayah-section-header p  { max-width: 640px; margin: 0 auto; font-size: 17px; }
.raayah-section-header .header-line {
	display: block;
	width: 70px; height: 4px;
	background: linear-gradient(90deg, var(--raayah-blue), var(--raayah-purple));
	border-radius: 99px;
	margin: 24px auto 0;
}

/* ========== HEADER ========== */
.site-header {
	padding: 16px 0;
	background: rgba(10, 15, 30, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid var(--raayah-border);
	transition: background 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
	background: rgba(10, 15, 30, 0.98);
	padding: 10px 0;
	box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.site-title a {
	font-size: 22px;
	font-weight: 900;
	background: linear-gradient(135deg, var(--raayah-blue), var(--raayah-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	transition: opacity 0.3s;
}
.site-title a:hover { opacity: 0.85; }
.main-navigation ul { list-style: none; display: flex; gap: 32px; }
.main-navigation a {
	color: var(--raayah-text-muted);
	font-weight: 600;
	font-size: 15px;
	transition: color 0.3s;
	position: relative;
}
.main-navigation a::after {
	content: '';
	position: absolute;
	bottom: -4px; left: 0;
	width: 0; height: 2px;
	background: var(--raayah-blue);
	transition: width 0.3s ease;
}
.main-navigation a:hover { color: #fff; }
.main-navigation a:hover::after { width: 100%; }

/* Mobile Menu Toggle */
.menu-toggle {
	display: none;
	background: none;
	border: none;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
}

/* ========== HERO SECTION ========== */
.raayah-hero {
	position: relative;
	padding: 160px 0 100px;
	overflow: hidden;
}
.raayah-hero-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 20% 50%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 20%, rgba(129, 140, 248, 0.12) 0%, transparent 50%),
		radial-gradient(ellipse at 50% 80%, rgba(52, 211, 153, 0.06) 0%, transparent 50%);
	pointer-events: none;
}
/* Animated mesh grid background */
.raayah-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
}
.raayah-hero-inner {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}
.raayah-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(56, 189, 248, 0.1);
	color: var(--raayah-blue);
	border: 1px solid rgba(56, 189, 248, 0.25);
	padding: 8px 20px;
	border-radius: 99px;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 28px;
	animation: raayah-pulse-glow 3s ease-in-out infinite;
}
.raayah-badge i { font-size: 12px; }
.raayah-hero-title {
	font-size: 62px;
	font-weight: 900;
	line-height: 1.15;
	margin-bottom: 24px;
	color: #fff;
}
.raayah-hero-title .highlight {
	background: linear-gradient(135deg, #38BDF8, #818CF8, #34D399);
	background-size: 200%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: raayah-gradient-shift 4s ease infinite;
}
.raayah-hero-desc {
	font-size: 18px;
	color: var(--raayah-text-muted);
	max-width: 780px;
	margin: 0 auto 40px;
	line-height: 1.8;
}
.raayah-hero-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 60px;
}
.raayah-hero-stats {
	display: flex;
	gap: 40px;
	justify-content: center;
	flex-wrap: wrap;
	padding-top: 40px;
	border-top: 1px solid var(--raayah-border);
}
.hero-stat { text-align: center; }
.hero-stat .stat-num {
	display: block;
	font-size: 36px;
	font-weight: 900;
	color: var(--raayah-blue);
	line-height: 1;
}
.hero-stat .stat-lbl {
	font-size: 13px;
	color: var(--raayah-text-muted);
	margin-top: 6px;
	display: block;
}

/* Floating shapes */
.raayah-shape {
	position: absolute;
	border-radius: 50%;
	opacity: 0.06;
	pointer-events: none;
}
.raayah-shape-1 {
	width: 400px; height: 400px;
	background: var(--raayah-blue);
	top: -200px; right: -100px;
	animation: raayah-float 6s ease-in-out infinite;
}
.raayah-shape-2 {
	width: 300px; height: 300px;
	background: var(--raayah-purple);
	bottom: -100px; left: -80px;
	animation: raayah-float 8s ease-in-out infinite reverse;
}
.raayah-shape-3 {
	width: 150px; height: 150px;
	background: var(--raayah-green);
	top: 30%; right: 10%;
	animation: raayah-float 5s ease-in-out infinite 1s;
}

/* ========== ABOUT SECTION ========== */
.raayah-about { padding: 100px 0; background: rgba(15, 23, 42, 0.4); }
.raayah-about-flex {
	display: flex;
	gap: 60px;
	align-items: center;
}
.raayah-about-text { flex: 1; }
.raayah-about-text h2 { font-size: 40px; margin-bottom: 24px; }
.raayah-about-text p { font-size: 16px; line-height: 1.9; margin-bottom: 16px; }
.raayah-about-visual {
	flex: 1;
	min-height: 420px;
	position: relative;
}
.raayah-about-card {
	position: absolute;
	background: rgba(15, 23, 42, 0.9);
	border: 1px solid var(--raayah-border);
	border-radius: 16px;
	padding: 20px;
	min-width: 200px;
	backdrop-filter: blur(20px);
}
.raayah-about-card.card-main {
	top: 0; left: 0; right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 10px;
	animation: raayah-float 6s ease-in-out infinite;
}
.raayah-about-card .card-icon {
	font-size: 48px;
	background: linear-gradient(135deg, var(--raayah-blue), var(--raayah-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.raayah-about-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 36px;
}
.raayah-feature-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	background: rgba(56, 189, 248, 0.05);
	border: 1px solid rgba(56, 189, 248, 0.1);
	border-radius: 12px;
	transition: all 0.3s ease;
}
.raayah-feature-item:hover {
	background: rgba(56, 189, 248, 0.1);
	border-color: rgba(56, 189, 248, 0.3);
	transform: translateX(-4px);
}
.raayah-feature-item i { color: var(--raayah-blue); font-size: 18px; }
.raayah-feature-item span { font-size: 14px; font-weight: 600; color: var(--raayah-text); }

/* ========== SERVICES SECTION ========== */
.raayah-services { padding: 100px 0; }
.raayah-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
}
.service-card {
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}
.service-card-top {
	width: 64px; height: 64px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	margin-bottom: 24px;
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-card:hover .service-card-top { transform: scale(1.15) rotate(5deg); }
.service-card h3 { font-size: 22px; margin-bottom: 14px; }
.service-card p { font-size: 15px; flex-grow: 1; margin-bottom: 24px; }
.service-card-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--raayah-blue);
	font-weight: 700;
	font-size: 14px;
	transition: gap 0.3s ease;
}
.service-card-link:hover { color: var(--raayah-blue); gap: 14px; }
/* Card background strip animation */
.service-card::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 3px;
	background: var(--card-color, linear-gradient(90deg, var(--raayah-blue), var(--raayah-purple)));
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s ease;
}
.service-card:hover::after { transform: scaleX(1); transform-origin: left; }

/* ========== STATS COUNTER ========== */
.raayah-stats {
	padding: 80px 0;
	background: linear-gradient(135deg, rgba(56, 189, 248, 0.04) 0%, rgba(129, 140, 248, 0.04) 100%);
	border-top: 1px solid var(--raayah-border);
	border-bottom: 1px solid var(--raayah-border);
}
.raayah-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
}
.stat-card { text-align: center; }
.stat-card .stat-icon {
	font-size: 36px;
	margin-bottom: 16px;
	background: linear-gradient(135deg, var(--raayah-blue), var(--raayah-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: block;
}
.stat-card .stat-number {
	font-size: 52px;
	font-weight: 900;
	color: #fff;
	line-height: 1;
	display: block;
}
.stat-card .stat-suffix {
	font-size: 28px;
	color: var(--raayah-blue);
}
.stat-card .stat-label {
	font-size: 15px;
	color: var(--raayah-text-muted);
	margin-top: 8px;
	display: block;
}

/* ========== WHY US SECTION ========== */
.raayah-why { padding: 100px 0; }
.raayah-why-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.why-card {
	text-align: center;
	padding: 40px 24px;
}
.why-card .why-icon {
	font-size: 40px;
	margin-bottom: 20px;
	display: block;
}
.why-card h3 { font-size: 20px; margin-bottom: 12px; }
.why-card p { font-size: 14px; }

/* ========== CONTACT ========== */
.raayah-contact { padding: 100px 0; background: rgba(15, 23, 42, 0.5); }
.raayah-contact-flex { display: flex; gap: 60px; flex-wrap: wrap; align-items: flex-start; }
.raayah-contact-info { flex: 1; min-width: 300px; }
.raayah-contact-info h2 { font-size: 40px; margin-bottom: 20px; }
.raayah-contact-info p { font-size: 16px; margin-bottom: 40px; line-height: 1.9; }
.contact-methods { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.contact-method {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px;
	background: rgba(255,255,255,0.03);
	border: 1px solid var(--raayah-border);
	border-radius: 14px;
	transition: all 0.3s ease;
}
.contact-method:hover {
	background: rgba(56, 189, 248, 0.06);
	border-color: rgba(56, 189, 248, 0.25);
	transform: translateX(-6px);
}
.contact-method .method-icon {
	width: 50px; height: 50px;
	min-width: 50px;
	background: rgba(56, 189, 248, 0.1);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--raayah-blue);
	font-size: 22px;
}
.contact-method .method-text span { display: block; font-size: 12px; color: var(--raayah-text-muted); margin-bottom: 4px; }
.contact-method .method-text a { color: #fff; font-size: 18px; font-weight: 700; }
.contact-form-box { flex: 1; min-width: 300px; }
.raayah-form { display: flex; flex-direction: column; gap: 16px; }
.raayah-form input,
.raayah-form select,
.raayah-form textarea {
	width: 100%;
	padding: 14px 16px;
	background: rgba(255,255,255,0.04);
	border: 1px solid var(--raayah-border);
	border-radius: 12px;
	color: #fff;
	font-family: 'Tajawal', sans-serif;
	font-size: 15px;
	outline: none;
	transition: border-color 0.3s, box-shadow 0.3s;
}
.raayah-form input:focus,
.raayah-form select:focus,
.raayah-form textarea:focus {
	border-color: var(--raayah-blue);
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
.raayah-form input::placeholder,
.raayah-form textarea::placeholder { color: var(--raayah-text-muted); }
.raayah-form select option { background: #0F172A; }

/* ========== FOOTER ========== */
.site-footer { padding: 60px 0 30px; background: #060B14; border-top: 1px solid var(--raayah-border); }
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 60px;
	margin-bottom: 50px;
}
.footer-brand .brand-name {
	font-size: 24px;
	font-weight: 900;
	background: linear-gradient(135deg, var(--raayah-blue), var(--raayah-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: block;
	margin-bottom: 16px;
}
.footer-brand p { font-size: 14px; line-height: 1.8; }
.footer-col h4 { font-size: 16px; color: #fff; margin-bottom: 20px; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--raayah-text-muted); font-size: 14px; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--raayah-blue); }
.footer-bottom {
	padding-top: 30px;
	border-top: 1px solid var(--raayah-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}
.footer-bottom p { font-size: 13px; }
.social-links { display: flex; gap: 12px; }
.social-link {
	width: 40px; height: 40px;
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--raayah-border);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--raayah-text-muted);
	transition: all 0.3s ease;
}
.social-link:hover {
	color: var(--raayah-blue);
	background: rgba(56, 189, 248, 0.1);
	border-color: rgba(56, 189, 248, 0.3);
	transform: translateY(-4px);
}

/* ========== SCROLL TO TOP ========== */
.scroll-top-btn {
	position: fixed;
	bottom: 30px;
	left: 30px;
	width: 48px; height: 48px;
	background: var(--raayah-btn);
	color: #fff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.3s ease;
	z-index: 999;
	box-shadow: 0 4px 20px rgba(26, 86, 219, 0.4);
}
.scroll-top-btn.visible { opacity: 1; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--raayah-btn-hover); transform: translateY(-4px); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
	.raayah-hero-title { font-size: 48px; }
	.raayah-why-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
	.raayah-hero { padding: 130px 0 80px; }
	.raayah-hero-title { font-size: 36px; }
	.raayah-hero-desc { font-size: 16px; }
	.raayah-hero-stats { gap: 24px; }
	.hero-stat .stat-num { font-size: 28px; }
	.raayah-about-flex { flex-direction: column; }
	.raayah-about-visual { min-height: 300px; width: 100%; }
	.raayah-why-grid { grid-template-columns: 1fr; }
	.raayah-contact-flex { flex-direction: column; }
	.footer-grid { grid-template-columns: 1fr; gap: 40px; }
	.main-navigation { display: none; }
	.main-navigation.open {
		display: flex;
		position: fixed;
		top: 70px; left: 0; right: 0;
		background: rgba(10, 15, 30, 0.98);
		flex-direction: column;
		padding: 20px;
		border-bottom: 1px solid var(--raayah-border);
	}
	.main-navigation.open ul { flex-direction: column; gap: 16px; }
	.menu-toggle { display: block; }
	.raayah-section-header h2 { font-size: 30px; }
	.raayah-about-features { grid-template-columns: 1fr; }
}
