/* GeoHub Arabia - Premium CSS Styling */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  /* Geospatial Theme Color Palette */
  --bg-primary: #070a13;
  --bg-secondary: #0f1422;
  --bg-card: rgba(18, 25, 41, 0.65);
  --bg-card-hover: rgba(26, 36, 58, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.3);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --accent-emerald: #10b981;
  --accent-emerald-rgb: 16, 185, 129;
  --accent-teal: #06b6d4;
  --accent-teal-rgb: 6, 182, 212;
  --accent-indigo: #6366f1;
  
  --gradient-primary: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-teal) 100%);
  --gradient-glow: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

  --font-en: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-ar: 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --font-family: var(--font-en);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RTL Language overrides */
[dir="rtl"] {
  --font-family: var(--font-ar);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-family);
  background: 
    radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.04) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px),
    var(--bg-primary);
  background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-emerald);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ffffff, #a7f3d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 10, 19, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--glass-shadow);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

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

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Button style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #070a13;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #ffffff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Language Switcher Button */
.lang-btn {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn:hover {
  background: var(--accent-emerald);
  color: #070a13;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 30px;
  color: var(--accent-emerald);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(5px);
  animation: pulse 3s infinite alternate;
}

@keyframes pulse {
  0% { box-shadow: 0 0 5px rgba(16, 185, 129, 0.1); }
  100% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.3); }
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 30%, #34d399 70%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  max-width: 750px;
  margin: 0 auto 3rem auto;
}

/* Search Wrapper & Suggestions */
.search-wrapper {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.search-bar-container {
  display: flex;
  align-items: center;
  background: rgba(18, 25, 41, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.35rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
}

.search-bar-container:focus-within {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.search-input-icon {
  margin-left: 1.25rem;
  margin-right: 0.5rem;
  display: flex;
  align-items: center;
  color: var(--text-secondary);
}

[dir="rtl"] .search-input-icon {
  margin-right: 1.25rem;
  margin-left: 0.5rem;
}

.search-input-icon svg {
  width: 20px;
  height: 20px;
}

.search-bar-container input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 1.1rem;
  padding: 0.5rem 0.5rem 0.5rem 0;
  font-family: inherit;
}

[dir="rtl"] .search-bar-container input {
  padding: 0.5rem 0 0.5rem 0.5rem;
}

.search-bar-container input::placeholder {
  color: var(--text-muted);
}

.search-bar-container button {
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
}

.suggestions-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  display: none;
  z-index: 100;
  text-align: start;
}

.suggestions-header {
  padding: 0.75rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.suggestion-item {
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.suggestion-title {
  font-weight: 500;
  color: #ffffff;
}

.suggestion-type {
  font-size: 0.75rem;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-teal);
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
}

/* Quick Metrics */
.quick-metrics {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
}

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

.metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Category Filters & Tabs */
.filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.filter-btn.active {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

/* Tab buttons specifically for channels */
.tabs-container {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  margin-bottom: 3rem;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn.active {
  background: var(--gradient-primary);
  color: #070a13;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  transition: opacity 0.35s ease;
}

/* Premium Card Design */
.premium-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--card-shadow);
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.premium-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.3);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.05);
}

.premium-card:hover::before {
  opacity: 1;
}

.card-badge-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

.card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge-level-beginner {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-level-intermediate {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-level-advanced {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-cert {
  background: rgba(6, 182, 212, 0.1);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.2);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-cert svg {
  width: 12px;
  height: 12px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.card-provider {
  font-size: 0.85rem;
  color: var(--accent-emerald);
  margin-bottom: 1.25rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.card-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  flex-grow: 1;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.card-tag {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: var(--text-secondary);
}

.card-footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.card-link {
  width: 100%;
}

/* YouTube Specific styles */
.youtube-card .channel-icon {
  width: 50px;
  height: 50px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #ef4444;
}

.youtube-card .channel-icon svg {
  width: 24px;
  height: 24px;
}

/* Spatial Data Sources Layout */
.data-sources-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Premium Glassmorphism Card Style */
.data-source-card {
  background: rgba(10, 16, 30, 0.45);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* Glowing cyan/green hover effects background gradient */
.data-source-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(16, 185, 129, 0.03) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.data-source-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.35);
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 
    0 15px 35px -5px rgba(0, 0, 0, 0.6), 
    0 0 20px rgba(6, 182, 212, 0.15), 
    0 0 10px rgba(16, 185, 129, 0.08);
}

.data-source-card:hover::before {
  opacity: 1;
}

/* Category Specific Badges */
.badge-category-vector {
  background: rgba(99, 102, 241, 0.1);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.badge-category-raster {
  background: rgba(6, 182, 212, 0.1);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.2);
}
.badge-category-environmental {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.badge-category-hydrology {
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.2);
}
.badge-category-administrative {
  background: rgba(244, 114, 182, 0.1);
  color: #f472b6;
  border: 1px solid rgba(244, 114, 182, 0.2);
}
.badge-category-socioeconomic {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

/* Expandable details panel styling */
.toggle-details-btn {
  background: none;
  border: none;
  color: var(--accent-teal);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  transition: var(--transition-smooth);
  width: fit-content;
  position: relative;
  z-index: 2;
}

.toggle-details-btn:hover {
  color: var(--accent-emerald);
}

.card-details-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-top 0.3s ease, padding 0.3s ease;
  opacity: 0;
  margin-top: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0;
  position: relative;
  z-index: 2;
}

.data-source-card.expanded .card-details-panel {
  max-height: 300px;
  opacity: 1;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
}

/* Learning Roadmap Section */
.roadmap-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

.roadmap-progress-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 4rem;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(12px);
}

.roadmap-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.roadmap-progress-title {
  font-weight: 600;
  font-size: 1.05rem;
}

.roadmap-progress-percent {
  font-weight: 800;
  color: var(--accent-emerald);
}

.roadmap-progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.roadmap-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Vertical Timeline Line */
.roadmap-timeline {
  position: relative;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(to bottom, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.4), rgba(99, 102, 241, 0.15));
  transform: translateX(-50%);
  border-radius: 2px;
}

[dir="rtl"] .roadmap-timeline::before {
  left: 50%;
  transform: translateX(50%);
}

.roadmap-level-heading {
  text-align: center;
  position: relative;
  z-index: 5;
  margin: 3.5rem 0 2rem 0;
}

.roadmap-level-heading:first-child {
  margin-top: 0;
}

.roadmap-level-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--glass-shadow);
  border: 1px solid;
}

.level-badge-beginner {
  background: #0f2d20;
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
}

.level-badge-intermediate {
  background: #2a1f0a;
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}

.level-badge-advanced {
  background: #2d0f0f;
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.3);
}

/* Roadmap Item Nodes */
.roadmap-node {
  display: flex;
  margin-bottom: 2.5rem;
  position: relative;
  width: 100%;
}

.roadmap-node:last-child {
  margin-bottom: 0;
}

.roadmap-node-content {
  width: 45%;
  position: relative;
  z-index: 2;
}

.roadmap-node-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.roadmap-node-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.roadmap-node-card.completed {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.05);
}

.roadmap-node-card.completed:hover {
  background: rgba(16, 185, 129, 0.08);
}

/* Custom Checkbox */
.roadmap-checkbox {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.roadmap-node-card.completed .roadmap-checkbox {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.roadmap-checkbox svg {
  width: 12px;
  height: 12px;
  fill: #070a13;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition-smooth);
}

.roadmap-node-card.completed .roadmap-checkbox svg {
  opacity: 1;
  transform: scale(1);
}

.roadmap-node-text {
  flex-grow: 1;
}

.roadmap-node-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.roadmap-node-card.completed .roadmap-node-title {
  color: var(--text-primary);
  text-decoration: line-through;
  opacity: 0.8;
}

.roadmap-node-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Circular marker on timeline line */
.roadmap-timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--bg-primary);
  border: 3px solid var(--border-color);
  border-radius: 50%;
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  transition: var(--transition-smooth);
}

[dir="rtl"] .roadmap-timeline-dot {
  left: 50%;
  transform: translateX(50%);
}

.roadmap-node-card.completed ~ .roadmap-timeline-dot,
.roadmap-node-card.completed + .roadmap-timeline-dot {
  background: var(--accent-emerald);
  border-color: var(--bg-primary);
  box-shadow: 0 0 12px var(--accent-emerald);
}

/* Alternate nodes left/right (LTR) */
.roadmap-node:nth-child(even) {
  flex-direction: row-reverse;
}

.roadmap-node:nth-child(odd) .roadmap-node-content {
  margin-right: auto;
}

.roadmap-node:nth-child(even) .roadmap-node-content {
  margin-left: auto;
}

[dir="rtl"] .roadmap-node:nth-child(odd) .roadmap-node-content {
  margin-left: auto;
  margin-right: 0;
}

[dir="rtl"] .roadmap-node:nth-child(even) .roadmap-node-content {
  margin-right: auto;
  margin-left: 0;
}

/* Contact / Contribution Section */
.contribution-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 3rem;
  align-items: start;
}

.contribution-info {
  padding-right: 1.5rem;
}

[dir="rtl"] .contribution-info {
  padding-left: 1.5rem;
  padding-right: 0;
}

.contribution-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contribution-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.community-benefits {
  list-style: none;
}

.community-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.community-benefits li svg {
  color: var(--accent-emerald);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Form Styling */
.glass-form {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(7, 10, 19, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
  background: rgba(7, 10, 19, 0.85);
}

.form-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.form-buttons .btn {
  flex: 1;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
}

[dir="rtl"] .toast-container {
  right: auto;
  left: 2rem;
}

.toast {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-left: 4px solid var(--accent-emerald);
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  transform: translateY(20px);
  opacity: 0;
  animation: slideIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

[dir="rtl"] .toast {
  border-left: 1px solid var(--border-color);
  border-right: 4px solid var(--accent-emerald);
}

@keyframes slideIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.toast.error {
  border-color: #ef4444;
}

.toast svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast-success-icon {
  color: var(--accent-emerald);
}

.toast-error-icon {
  color: #ef4444;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: var(--transition-smooth);
}

[dir="rtl"] .back-to-top {
  right: auto;
  left: 2rem;
}

/* Adjust position if toast container interferes on same side */
[dir="rtl"] .back-to-top {
  bottom: 6.5rem; /* Stack above toasts */
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.back-to-top:hover {
  background: var(--accent-emerald);
  color: #070a13;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* Footer styling */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.75rem;
  }
  
  .contribution-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .contribution-info {
    padding-right: 0;
  }
  
  [dir="rtl"] .contribution-info {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .navbar .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    right: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
    z-index: 999;
  }
  
  [dir="rtl"] .navbar .nav-links {
    left: auto;
    right: -100%;
  }

  .navbar .nav-links.active {
    left: 0;
  }
  
  [dir="rtl"] .navbar .nav-links.active {
    right: 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero {
    padding: 8rem 0 4rem 0;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .quick-metrics {
    gap: 2rem;
    flex-direction: column;
    align-items: center;
  }
  
  .roadmap-timeline::before {
    left: 20px;
  }
  
  [dir="rtl"] .roadmap-timeline::before {
    left: auto;
    right: 20px;
  }
  
  .roadmap-node {
    flex-direction: row !important;
    margin-bottom: 2rem;
  }
  
  .roadmap-node-content {
    width: calc(100% - 40px);
    margin-left: 40px !important;
    margin-right: 0 !important;
  }
  
  [dir="rtl"] .roadmap-node-content {
    margin-right: 40px !important;
    margin-left: 0 !important;
  }
  
  .roadmap-timeline-dot {
    left: 20px !important;
    transform: translateX(-50%) !important;
  }
  
  [dir="rtl"] .roadmap-timeline-dot {
    right: 20px !important;
    left: auto !important;
    transform: translateX(50%) !important;
  }
  
  .glass-form {
    padding: 1.5rem;
  }
  
  .form-buttons {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Custom glowing effect for Book and YouTube Cards (Cyan/Green borders on hover) */
.book-card:hover,
.youtube-card:hover {
  border-color: var(--accent-teal);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 0 25px rgba(6, 182, 212, 0.25);
  background: var(--bg-card-hover);
}

/* Custom layout styles for the GIS Learning Path Accordion */
.roadmap-timeline::before {
  left: 20px !important;
  transform: translateX(-50%) !important;
}

[dir="rtl"] .roadmap-timeline::before {
  left: auto !important;
  right: 20px !important;
  transform: translateX(50%) !important;
}

.roadmap-node {
  flex-direction: row !important;
  margin-bottom: 2rem;
}

.roadmap-node-content {
  width: calc(100% - 40px) !important;
  margin-left: 40px !important;
  margin-right: 0 !important;
}

[dir="rtl"] .roadmap-node-content {
  margin-right: 40px !important;
  margin-left: 0 !important;
}

.roadmap-timeline-dot {
  left: 20px !important;
  transform: translateX(-50%) !important;
}

[dir="rtl"] .roadmap-timeline-dot {
  right: 20px !important;
  left: auto !important;
  transform: translateX(50%) !important;
}

.roadmap-node-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  cursor: pointer;
  width: 100%;
}

.roadmap-node-card:hover {
  border-color: rgba(6, 182, 212, 0.35); /* Glowing green/cyan */
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(6, 182, 212, 0.15);
}

.roadmap-node-card.completed {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.05);
}

.roadmap-node-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.roadmap-node-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-out, padding 0.3s, margin 0.3s;
  opacity: 0;
  width: 100%;
  border-top: 1px solid transparent;
  padding-top: 0;
  margin-top: 0;
  text-align: start;
}

.roadmap-node-card.expanded .roadmap-node-body {
  max-height: 600px;
  opacity: 1;
  border-top-color: var(--border-color);
  padding-top: 1rem;
  margin-top: 0.75rem;
}

.roadmap-explanation {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.roadmap-resources-header {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.roadmap-resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--accent-emerald);
  font-weight: 600;
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
}

.roadmap-resource-link:hover {
  text-decoration: underline;
  transform: translateX(4px);
}

[dir="rtl"] .roadmap-resource-link:hover {
  transform: translateX(-4px);
}

.roadmap-navigation-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.roadmap-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.roadmap-nav-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

/* Featured Provider Card Styling */
.featured-provider-card {
  grid-column: 1 / -1; /* Spans full width of grid */
  border: 1px solid rgba(6, 182, 212, 0.35) !important;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.12), var(--card-shadow);
  padding: 2.25rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(22, 32, 54, 0.8) 100%) !important;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.featured-provider-card:hover {
  border-color: var(--accent-teal) !important;
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.25), var(--card-shadow);
  transform: translateY(-3px);
}

.featured-badge-container {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.badge-featured {
  background: rgba(6, 182, 212, 0.15) !important;
  color: var(--accent-teal) !important;
  border: 1px solid rgba(6, 182, 212, 0.3) !important;
  font-weight: 800;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
  animation: pulseTeal 3s infinite alternate;
}

@keyframes pulseTeal {
  0% { box-shadow: 0 0 5px rgba(6, 182, 212, 0.1); }
  100% { box-shadow: 0 0 15px rgba(6, 182, 212, 0.3); }
}

.featured-card-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

.featured-main-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.featured-logo-container {
  width: 60px;
  height: 60px;
  background: rgba(6, 182, 212, 0.1);
  border: 2px solid rgba(6, 182, 212, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
  flex-shrink: 0;
  animation: logoPulse 2.5s infinite ease-in-out;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(6, 182, 212, 0.2); }
  50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(6, 182, 212, 0.4); }
}

.featured-logo-container svg {
  width: 32px;
  height: 32px;
}

.featured-title-block {
  display: flex;
  flex-direction: column;
  text-align: start;
}

.featured-card-title {
  font-size: 1.6rem !important;
  margin-bottom: 0.25rem !important;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.featured-card-provider-type {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.featured-card-desc {
  font-size: 1rem !important;
  color: var(--text-primary) !important;
  line-height: 1.7;
  max-width: 950px;
  margin-bottom: 0.5rem !important;
  text-align: start;
}

.featured-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 0.5rem 0 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
}

.details-column {
  text-align: start;
}

.details-column h4 {
  font-size: 1rem;
  color: var(--accent-teal);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
}

.featured-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.featured-list li svg {
  width: 16px;
  height: 16px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.featured-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.featured-card-btn {
  padding: 0.85rem 2.25rem !important;
  font-size: 1.05rem !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3) !important;
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-indigo) 100%) !important;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.featured-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(6, 182, 212, 0.5) !important;
}

/* Responsive adjustment for featured card details grid */
@media (max-width: 768px) {
  .featured-details-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .featured-main-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ==========================================================================
   Upgraded Premium Hero & Introduction Styles
   ========================================================================== */

/* Animated telemetry & grid backgrounds for Hero */
.hero {
  padding: 12rem 0 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.08) 0%, rgba(7, 10, 19, 1) 80%);
}

.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
  animation: gridMove 20s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes gridMove {
  0% { background-position: 0px 0px; }
  100% { background-position: 40px 40px; }
}

.hero-telemetry {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  max-width: 1200px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

.telemetry-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(6, 182, 212, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.telemetry-circle.c1 {
  width: 400px;
  height: 400px;
  animation: rotateClockwise 40s linear infinite;
}

.telemetry-circle.c2 {
  width: 700px;
  height: 700px;
  border: 1px solid rgba(16, 185, 129, 0.06);
  animation: rotateCounterClockwise 60s linear infinite;
}

.telemetry-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.12), transparent);
  height: 1px;
  width: 100%;
  top: 50%;
  left: 0;
}

.telemetry-line.l1 {
  transform: rotate(30deg);
}

.telemetry-line.l2 {
  transform: rotate(120deg);
}

@keyframes rotateClockwise {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateCounterClockwise {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* Hero Content layout overrides */
.hero .container {
  position: relative;
  z-index: 2;
}

/* Premium Buttons inside Hero */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin: 2.25rem auto 3rem auto;
  flex-wrap: wrap;
  max-width: 650px;
  position: relative;
  z-index: 10;
}

.hero-buttons .btn {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

/* Scroll down mouse wheel indicator */
.scroll-indicator-container {
  margin-top: 4.5rem;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.scroll-indicator:hover {
  color: var(--accent-teal);
}

.scroll-indicator .mouse {
  width: 24px;
  height: 40px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .wheel {
  width: 4px;
  height: 8px;
  background-color: currentColor;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
  0% { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

.scroll-indicator .arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 10px;
}

.scroll-indicator .arrows span {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  animation: scrollArrows 1.5s infinite;
}

.scroll-indicator .arrows span:nth-child(2) {
  animation-delay: 0.15s;
}

.scroll-indicator .arrows span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes scrollArrows {
  0% { opacity: 0; transform: rotate(45deg) translate(-2px, -2px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: rotate(45deg) translate(2px, 2px); }
}

/* About / Introduction Section styling */
.intro-section {
  position: relative;
  z-index: 10;
  padding: 5rem 0;
}

.intro-glass-card {
  background: rgba(18, 25, 41, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 3.5rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.intro-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.intro-glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(16, 185, 129, 0.05);
}

.intro-icon-deco {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: var(--accent-emerald);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.intro-icon-deco svg {
  width: 32px;
  height: 32px;
}

.intro-heading {
  font-size: 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro-text-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intro-p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: justify;
}

[dir="rtl"] .intro-p {
  text-align: justify;
  text-justify: inter-word;
}

.intro-p.greeting {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 0.5rem;
}

.intro-p.closing {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-align: center;
  margin-top: 0.5rem;
}

/* Scroll Trigger Animations */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .intro-glass-card {
    padding: 2.25rem 2rem;
  }
  
  .intro-heading {
    font-size: 1.65rem;
  }
  
  .intro-p {
    font-size: 1rem;
    line-height: 1.7;
  }
}
