/* ===================================================================
   iQuiz - Official Website Stylesheet
   Modern, Responsive, Bengali & English Optimized CSS
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@400;700;800&family=Amiri:ital,wght@0,400;0,700;1,400&family=Tajawal:wght@300;400;500;700;800;900&family=Hind+Siliguri:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-dark: #0b0f3b;
  --primary-deep: #060826;
  --primary-navy: #131953;
  --accent-cyan: #00d2ff;
  --accent-blue: #0077fe;
  --accent-gold: #ffb703;
  --accent-gold-light: #fed166;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #1e293b;
  --bg-card: #ffffff;
  --border-glass: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 25px rgba(0, 210, 255, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Hind Siliguri', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #f8faff;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
}

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

.text-center {
  text-align: center;
}

.layout_padding {
  padding: 90px 0;
}

.layout_padding_sm {
  padding: 50px 0;
}

/* Headings */
.heading_container {
  margin-bottom: 50px;
}

.heading_container.heading_center {
  text-align: center;
}

.heading_container h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

.heading_container h2 span {
  color: var(--accent-blue);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heading_container p {
  color: #64748b;
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

.heading_dark h2 {
  color: #ffffff;
}

.heading_dark p {
  color: #cbd5e1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 187, 240, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 187, 240, 0.45);
  filter: brightness(1.08);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-cyan);
  color: var(--primary-dark);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), #f59e0b);
  color: #0b0f3b;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.5);
  filter: brightness(1.05);
}

/* ===================================================================
   Header & Navbar
   =================================================================== */
.site_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 16px 0;
  background: rgba(11, 15, 59, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glass);
}

.site_header.scrolled {
  padding: 10px 0;
  background: rgba(6, 8, 38, 0.96);
  box-shadow: var(--shadow-md);
}

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

.brand_logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand_logo img {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand_logo:hover img {
  transform: scale(1.08);
}

.brand_logo .brand_name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
}

.brand_logo .brand_name span {
  color: var(--accent-cyan);
}

.nav_menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav_item a {
  color: #cbd5e1;
  font-size: 0.98rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav_item a:hover,
.nav_item a.active {
  color: #ffffff;
}

.nav_item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-cyan);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav_item a:hover::after,
.nav_item a.active::after {
  width: 100%;
}

.header_actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang_toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.lang_toggle:hover {
  background: rgba(0, 210, 255, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.lang_selector {
  position: relative;
  display: inline-block;
}

.lang_toggle_btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.lang_toggle_btn:hover,
.lang_selector:hover .lang_toggle_btn {
  background: rgba(0, 210, 255, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.lang_dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--primary-deep);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 6px;
  min-width: 145px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1050;
  backdrop-filter: blur(12px);
}

.lang_selector:hover .lang_dropdown,
.lang_selector:focus-within .lang_dropdown {
  display: flex;
}

.lang_dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #cbd5e1;
  transition: all 0.2s;
}

.lang_dropdown a:hover,
.lang_dropdown a.active {
  background: rgba(0, 210, 255, 0.15);
  color: #ffffff;
}

/* Mobile Toggle Hamburger */
.mobile_toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1100;
  padding: 8px;
}

.hamburger_icon {
  width: 24px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger_icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 2px;
  transition: var(--transition);
}

.mobile_toggle.active .hamburger_icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile_toggle.active .hamburger_icon span:nth-child(2) {
  opacity: 0;
}

.mobile_toggle.active .hamburger_icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile_drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 290px;
  height: 100vh;
  background: var(--primary-deep);
  border-left: 1px solid var(--border-glass);
  padding: 90px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile_drawer.open {
  right: 0;
}

.mobile_drawer .nav_item a {
  display: block;
  font-size: 1.15rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile_overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ===================================================================
   Hero & Slider Section
   =================================================================== */
.hero_section {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at 80% 20%, #1e2675 0%, var(--primary-navy) 40%, var(--primary-deep) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
}

.hero_bg_pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/hero-bg.png');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.hero_glow_orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.18) 0%, transparent 70%);
  top: 15%;
  right: 5%;
  pointer-events: none;
  filter: blur(40px);
  z-index: 1;
}

.hero_container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.slider_wrapper {
  position: relative;
  overflow: hidden;
}

.slider_track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide_item {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero_content {
  flex: 1;
  max-width: 580px;
}

.badge_tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--accent-cyan);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.badge_tag i {
  font-size: 1rem;
}

.hero_content h1 {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero_content h1 .gradient_text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero_content p {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero_buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero_image_box {
  flex: 1;
  max-width: 520px;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero_img_wrapper {
  position: relative;
  animation: floatHero 5s ease-in-out infinite;
}

@keyframes floatHero {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

.hero_img_wrapper img {
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.45));
}

/* Slider Controls */
.slider_controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.slider_dots {
  display: flex;
  gap: 10px;
}

.slider_dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: var(--transition);
}

.slider_dot.active {
  width: 32px;
  border-radius: 12px;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.slider_arrows {
  display: flex;
  gap: 12px;
}

.slider_arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider_arrow:hover {
  background: var(--accent-cyan);
  color: var(--primary-deep);
  border-color: var(--accent-cyan);
}

/* Sub-page Banner */
.subpage_hero {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-navy) 100%);
  color: #ffffff;
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.subpage_hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.subpage_hero p {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===================================================================
   Services Section ("Our Services")
   =================================================================== */
.services_section {
  background-color: #ffffff;
  position: relative;
}

.services_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service_card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service_card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-cyan);
}

.service_icon_box {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0fdfa;
  border-radius: 50%;
  transition: var(--transition);
}

.service_card:hover .service_icon_box {
  transform: scale(1.1) rotate(5deg);
  background: #e0f2fe;
}

.service_icon_box img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.service_card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.service_card p {
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.service_card .card_link {
  color: var(--accent-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.service_card .card_link:hover {
  color: var(--accent-cyan);
  gap: 10px;
}

/* ===================================================================
   Live Mini Quiz Interactive Component
   =================================================================== */
.quiz_demo_section {
  background: linear-gradient(135deg, #0b0f3b 0%, #151b54 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.quiz_container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.quiz_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quiz_badge {
  background: rgba(0, 210, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
}

.quiz_score_box {
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 1.05rem;
}

.quiz_question_box {
  margin-bottom: 28px;
}

.quiz_question_box h3 {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.5;
}

.quiz_options_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.quiz_opt_btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  text-align: left;
  font-size: 1.02rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
}

.quiz_opt_btn:hover:not(:disabled) {
  background: rgba(0, 210, 255, 0.2);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.quiz_opt_btn .opt_letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.quiz_opt_btn.correct {
  background: #10b981 !important;
  border-color: #059669 !important;
  color: #ffffff !important;
}

.quiz_opt_btn.wrong {
  background: #ef4444 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
}

.quiz_feedback {
  min-height: 48px;
  margin-bottom: 20px;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  display: none;
}

.quiz_feedback.show {
  display: block;
}

.quiz_feedback.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.quiz_feedback.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

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

/* ===================================================================
   About Section ("আমাদের সম্পর্কে")
   =================================================================== */
.about_section {
  background-color: #ffffff;
}

.about_wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about_img_box {
  flex: 1;
  position: relative;
}

.about_img_box img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.about_img_box:hover img {
  transform: scale(1.02);
}

.about_detail_box {
  flex: 1;
}

.about_detail_box h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.about_detail_box p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about_mission_box {
  background: #f8fafc;
  border-left: 4px solid var(--accent-blue);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0 30px;
}

.about_mission_box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.about_mission_box p {
  margin: 0;
  color: #64748b;
  font-size: 0.98rem;
}

/* ===================================================================
   Why Section ("কেন iQuiz ব্যবহার করবেন?")
   =================================================================== */
.why_section {
  background-color: #f1f5f9;
}

.why_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why_card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why_card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-cyan);
}

.why_icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #e0f2fe;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.why_card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.why_card p {
  color: #64748b;
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ===================================================================
   Stats & App Banner Section
   =================================================================== */
.stats_section {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-navy) 100%);
  color: #ffffff;
  padding: 60px 0;
}

.stats_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat_item h3 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.stat_item p {
  color: #cbd5e1;
  font-size: 1.05rem;
  font-weight: 500;
}

.app_banner_section {
  background: #ffffff;
  padding: 80px 0;
}

.app_banner_box {
  background: linear-gradient(135deg, #0284c7 0%, var(--primary-navy) 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  padding: 50px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow-lg);
}

.app_banner_text h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.app_banner_text p {
  font-size: 1.1rem;
  color: #e0f2fe;
  max-width: 550px;
}

.app_buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store_btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.store_btn:hover {
  background: #000000;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.store_btn svg, .store_btn i {
  font-size: 1.8rem;
  width: 28px;
}

.store_btn_text small {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #94a3b8;
}

.store_btn_text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

/* ===================================================================
   Official App Showcase & Screenshots
   =================================================================== */
.app_showcase_section {
  background: #f8faff;
  padding: 90px 0;
  position: relative;
}

.app_meta_card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-md);
  margin-bottom: 50px;
}

.app_meta_left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.app_icon_img {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.app_info_text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.app_info_text .dev_name {
  color: #0284c7;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.app_badges_row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.rating_badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #b45309;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

.installs_badge {
  color: #64748b;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app_screens_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.screen_item {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  position: relative;
}

.screen_item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-cyan);
}

.screen_item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 992px) {
  .app_screens_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .app_meta_card {
    flex-direction: column;
    text-align: center;
  }
  .app_meta_left {
    flex-direction: column;
    text-align: center;
  }
}

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

/* ===================================================================
   English Features Showcase Section
   =================================================================== */
.en_showcase_section {
  background: #ffffff;
  padding: 90px 0;
}

.en_features_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 60px;
}

.en_feature_card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.en_feature_card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-cyan);
  background: #ffffff;
}

.en_card_icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.en_feature_card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.en_feature_card p {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.example_callout {
  background: #e0f2fe;
  border-left: 3px solid var(--accent-blue);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  color: #0369a1;
  font-weight: 500;
  margin-top: auto;
}

.key_features_box {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-navy) 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  padding: 50px 60px;
  box-shadow: var(--shadow-lg);
}

.key_features_box h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.key_features_box h3 span {
  color: var(--accent-cyan);
}

.key_features_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.key_item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.key_item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.key_icon {
  color: var(--accent-gold);
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.key_item p {
  margin: 0;
  color: #e2e8f0;
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .en_features_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .key_features_grid {
    grid-template-columns: 1fr;
  }
  .key_features_box {
    padding: 35px 24px;
  }
}

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

/* ===================================================================
   FAQ Accordion Section
   =================================================================== */
.faq_section {
  background-color: #ffffff;
}

.faq_container {
  max-width: 860px;
  margin: 0 auto;
}

.faq_search_box {
  margin-bottom: 30px;
  position: relative;
}

.faq_search_input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 1px solid #cbd5e1;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
  background: #ffffff;
}

.faq_search_input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(0, 119, 254, 0.12);
}

.faq_search_icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.1rem;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion_item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.accordion_item:hover {
  border-color: #cbd5e1;
}

.accordion_item.active {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-sm);
}

.accordion_header {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  background: #ffffff;
  transition: var(--transition);
}

.accordion_header h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0;
}

.accordion_item.active .accordion_header h4 {
  color: var(--accent-blue);
}

.accordion_icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  transition: var(--transition);
  flex-shrink: 0;
}

.accordion_item.active .accordion_icon {
  transform: rotate(180deg);
  background: var(--accent-cyan);
  color: var(--primary-deep);
}

.accordion_body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 24px;
  color: #475569;
  line-height: 1.75;
}

.accordion_item.active .accordion_body {
  padding: 0 24px 20px;
}

/* ===================================================================
   Contact Page & Form
   =================================================================== */
.contact_section {
  background-color: #ffffff;
}

.contact_grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
}

.contact_form_card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form_group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form_group.full_width {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}

.form_group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}

.form_control {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  background: #f8fafc;
}

.form_control:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 119, 254, 0.12);
}

textarea.form_control {
  resize: vertical;
  min-height: 120px;
}

.form_alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  display: none;
}

.form_alert.success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.contact_info_box {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info_card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.info_card_icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e0f2fe;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info_card_content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.info_card_content p,
.info_card_content a {
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.6;
}

.info_card_content a:hover {
  color: var(--accent-blue);
}

/* ===================================================================
   Legal Pages (Privacy Policy & Terms)
   =================================================================== */
.legal_content_wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 50px 60px;
  box-shadow: var(--shadow-sm);
}

.legal_content_wrapper h2 {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin: 28px 0 12px;
}

.legal_content_wrapper p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.legal_content_wrapper ol,
.legal_content_wrapper ul {
  padding-left: 24px;
  margin-bottom: 24px;
}

.legal_content_wrapper li {
  color: #475569;
  line-height: 1.75;
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.legal_content_wrapper strong {
  color: var(--primary-dark);
}

.legal_meta {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ===================================================================
   Footer
   =================================================================== */
.site_footer {
  background: var(--primary-deep);
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-glass);
}

.footer_grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer_brand p {
  margin: 18px 0 24px;
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 320px;
}

.social_links {
  display: flex;
  gap: 12px;
}

.social_link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
}

.social_link:hover {
  background: var(--accent-cyan);
  color: var(--primary-deep);
  transform: translateY(-3px);
}

.footer_col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer_col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

.footer_links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer_links a {
  color: #cbd5e1;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer_links a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.footer_contact_item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.footer_contact_item i {
  color: var(--accent-cyan);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer_bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  color: #64748b;
}

.footer_bottom a {
  color: var(--accent-cyan);
}

/* ===================================================================
   Back to Top & Floating Elements
   =================================================================== */
.back_to_top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 119, 254, 0.35);
  border: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 990;
}

.back_to_top.visible {
  opacity: 1;
  visibility: visible;
}

.back_to_top:hover {
  background: var(--accent-cyan);
  color: var(--primary-deep);
  transform: translateY(-4px);
}

/* ===================================================================
   Responsive Media Queries
   =================================================================== */
@media (max-width: 1024px) {
  .hero_content h1 {
    font-size: 2.6rem;
  }
  .services_grid,
  .why_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about_wrapper {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav_menu {
    display: none;
  }
  .mobile_toggle {
    display: block;
  }
  .slide_item {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .hero_content {
    max-width: 100%;
  }
  .hero_buttons {
    justify-content: center;
  }
  .hero_content h1 {
    font-size: 2.1rem;
  }
  .services_grid,
  .why_grid {
    grid-template-columns: 1fr;
  }
  .about_wrapper {
    flex-direction: column;
  }
  .contact_grid {
    grid-template-columns: 1fr;
  }
  .form_row {
    grid-template-columns: 1fr;
  }
  .stats_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .app_banner_box {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }
  .app_buttons {
    justify-content: center;
  }
  .quiz_options_grid {
    grid-template-columns: 1fr;
  }
  .legal_content_wrapper {
    padding: 30px 20px;
  }
  .footer_grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   RTL & Islamic Arabic (العربية) Premium Styles
   =================================================================== */
html[dir="rtl"],
body[dir="rtl"],
[dir="rtl"] {
  direction: rtl;
  text-align: right;
  font-family: 'Tajawal', 'Almarai', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0 !important;
}

[dir="rtl"] * {
  letter-spacing: 0 !important;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] .hero_title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  line-height: 1.38;
}

[dir="rtl"] p,
[dir="rtl"] .hero_desc,
[dir="rtl"] .accordion_body p {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
}

/* Islamic Bismillah Calligraphic Inscription */
.bismillah_banner {
  text-align: center;
  margin-bottom: 22px;
}

.bismillah_text {
  font-family: 'Amiri', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 1px !important;
  text-shadow: 0 0 15px rgba(255, 183, 3, 0.4);
  display: inline-block;
  padding: 4px 20px;
  border-bottom: 1px solid rgba(255, 183, 3, 0.3);
}

/* Gold Gradient Text */
.gradient_gold {
  background: linear-gradient(135deg, #ffd700 0%, #ff9e0b 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Islamic Ornamental Divider */
.islamic_divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px auto;
  max-width: 360px;
  gap: 16px;
}

.islamic_divider::before,
.islamic_divider::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 183, 3, 0.7), transparent);
}

.islamic_divider span {
  color: var(--accent-gold);
  font-size: 1.25rem;
  font-family: 'Amiri', serif;
  text-shadow: 0 0 12px rgba(255, 183, 3, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Arabesque Geometric Pattern Background */
.islamic_bg_pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 183, 3, 0.12) 1px, transparent 1px), radial-gradient(rgba(0, 210, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  opacity: 0.65;
  pointer-events: none;
  z-index: 1;
}

/* RTL Hero & Carousel */
[dir="rtl"] .hero_section {
  position: relative;
  overflow: hidden;
}

[dir="rtl"] .slider_track {
  direction: ltr; /* Keeps translation coordinates rock-solid */
}

[dir="rtl"] .slide_item {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .hero_content {
  text-align: right;
}

[dir="rtl"] .hero_buttons {
  justify-content: flex-start;
  gap: 16px;
}

[dir="rtl"] .hero_trust_badges {
  justify-content: flex-start;
}

[dir="rtl"] .btn i {
  margin-left: 8px;
  margin-right: 0;
}

[dir="rtl"] .btn .fa-arrow-left,
[dir="rtl"] .btn .fa-chevron-left {
  margin-left: 0;
  margin-right: 8px;
}

/* Islamic Category Cards */
.islamic_categories_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.islamic_category_card {
  position: relative;
  background: linear-gradient(145deg, rgba(19, 25, 83, 0.8), rgba(6, 8, 38, 0.95));
  border: 1px solid rgba(255, 183, 3, 0.22);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  transition: all 0.35s ease;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.islamic_category_card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 183, 3, 0.6);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 183, 3, 0.2);
}

.islamic_category_card::before {
  content: '۞';
  position: absolute;
  top: 10px;
  left: 14px;
  color: rgba(255, 183, 3, 0.3);
  font-family: 'Amiri', serif;
  font-size: 1.15rem;
}

.category_card_icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.2), rgba(0, 210, 255, 0.2));
  border: 1px solid rgba(255, 183, 3, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.islamic_category_card h3 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.islamic_category_card p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Islamic Hadith / Ayah Quote Box */
.islamic_quote_box {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08), rgba(6, 8, 38, 0.95));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
  position: relative;
}

.islamic_quote_box h4 {
  color: #10b981;
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.islamic_quote_box p {
  font-family: 'Amiri', serif;
  font-size: 1.2rem;
  line-height: 1.9;
  color: #f1f5f9;
  margin-bottom: 6px;
}

.islamic_quote_source {
  font-size: 0.88rem;
  color: #94a3b8;
  font-style: normal;
}

/* RTL Feature Cards in ar.html */
[dir="rtl"] .en_feature_card {
  position: relative;
  background: linear-gradient(145deg, rgba(19, 25, 83, 0.7), rgba(6, 8, 38, 0.9));
  border: 1px solid rgba(255, 183, 3, 0.2);
  border-top: 3px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all 0.35s ease;
}

[dir="rtl"] .en_feature_card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 183, 3, 0.6);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 183, 3, 0.15);
}

[dir="rtl"] .en_example_box {
  background: rgba(255, 183, 3, 0.08);
  border: 1px dashed rgba(255, 183, 3, 0.35);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 0.92rem;
  color: #fed166;
  line-height: 1.7;
}

/* RTL Key Features Box */
[dir="rtl"] .key_features_box {
  background: linear-gradient(145deg, rgba(19, 25, 83, 0.9), rgba(6, 8, 38, 0.98));
  border: 1px solid rgba(255, 183, 3, 0.4);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(255, 183, 3, 0.04);
}

[dir="rtl"] .key_features_list li {
  font-size: 1.05rem;
  color: #e2e8f0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

[dir="rtl"] .key_features_list li i {
  color: var(--accent-gold);
  font-size: 1.25rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* RTL Navigation & Drawer */
[dir="rtl"] .nav_item a {
  text-align: right;
  font-size: 1rem;
}

[dir="rtl"] .lang_dropdown {
  right: auto;
  left: 0;
}

[dir="rtl"] .mobile_drawer {
  right: auto;
  left: -100%;
  border-left: none;
  border-right: 1px solid var(--border-glass);
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
}

[dir="rtl"] .mobile_drawer.open {
  left: 0;
  right: auto;
}

[dir="rtl"] .mobile_drawer .nav_item a {
  text-align: right;
}

/* RTL Accordion & Search */
[dir="rtl"] .accordion_header {
  flex-direction: row-reverse;
  text-align: right;
  padding: 20px 24px;
}

[dir="rtl"] .accordion_header h4 {
  font-size: 1.15rem;
  color: #ffffff;
}

[dir="rtl"] .accordion_body {
  text-align: right;
  padding: 0 24px 22px;
}

[dir="rtl"] .back_to_top {
  right: auto;
  left: 30px;
}

[dir="rtl"] .footer_contact_item {
  flex-direction: row;
}

[dir="rtl"] .mr-2 {
  margin-right: 0 !important;
  margin-left: 0.5rem !important;
}

[dir="rtl"] .ml-2 {
  margin-left: 0 !important;
  margin-right: 0.5rem !important;
}

[dir="rtl"] .app_specs_grid {
  text-align: right;
}

[dir="rtl"] .spec_item {
  text-align: right;
}

[dir="rtl"] .quiz_card {
  text-align: right;
  border: 1px solid rgba(255, 183, 3, 0.35);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 183, 3, 0.1);
}

[dir="rtl"] .quiz_card h3 {
  font-family: 'Amiri', serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.7;
}

[dir="rtl"] .quiz_opt_btn {
  text-align: right;
  font-size: 1rem;
}


