:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --accent-color: #ff6b6b;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.hero-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section .btn {
    position: relative;
    z-index: 10;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('{% static "images/airplane-silhouette.png" %}') no-repeat;
  background-position: right bottom;
  background-size: contain;
  opacity: 0.1;
}

.hero-section h1 {
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-section .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Features */
.feature-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* RTL Support for Arabic */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .text-end {
  text-align: left !important;
}

/* Navbar styling */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  background-color: rgba(13, 110, 253, 0.9) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1e3c72, #2a5298) !important;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

/* Courses Section */
.courses-section {
  background-color: #f8f9fa;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.5rem 1.5rem;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}