:root {
  /* Brand Colors */
  --baseera-green: #0BB686;
  --baseera-green-light: #e0f7f2;
  --baseera-green-dark: #099069;
  --baseera-purple: #AB4BB6;
  --baseera-purple-light: #f5e9f7;
  --baseera-purple-dark: #8a3c94;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0BB686, #099069);
  --gradient-secondary: linear-gradient(135deg, #AB4BB6, #954aa0);
  
  /* Legacy color variables (for compatibility) */
  --primary-color: var(--baseera-green);
  --secondary-color: var(--baseera-purple);
  --light-primary: var(--baseera-green-light);
  --light-secondary: var(--baseera-purple-light);
}

body {
  font-family: 'Tajawal', 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Navbar Styles */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 0.75rem 0;
  transition: all 0.3s ease-in-out;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 800;
}

.brand-green {
  color: var(--baseera-green);
}

.brand-purple {
  color: var(--baseera-purple);
}

.nav-link {
  font-weight: 500;
  color: #444;
  padding: 0.5rem 1rem;
  transition: all 0.3s;
}

.nav-link:hover {
  color: var(--baseera-green);
}

.btn-baseera-green {
  background-color: var(--baseera-green);
  color: white;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s;
}

.btn-baseera-green:hover {
  background-color: var(--baseera-green-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(11, 182, 134, 0.3);
}

/* Button Styles */
.btn-baseera {
  background: var(--gradient-primary);
  border: none;
  color: white;
  border-radius: 50px;
  padding: 0.7rem 2rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-baseera:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(11, 182, 134, 0.3);
}

.btn-baseera-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
  border-radius: 50px;
  padding: 0.7rem 2rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-baseera-outline:hover {
  background-color: white;
  color: var(--baseera-green);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(11, 182, 134, 0.3);
}

.btn-secondary {
  background: var(--gradient-secondary);
  border: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(171, 75, 182, 0.3);
}

.btn-outline-secondary {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-secondary:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Card Styles */
.card {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--baseera-green-light);
  color: var(--baseera-green);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

/* Subject Card Styles */
.subject-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  height: 100%;
}

.subject-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.subject-card-header {
  background: var(--baseera-green-light);
  padding: 1.5rem;
  display: flex;
  align-items: center;
}

.subject-icon {
  font-size: 2rem;
  color: var(--baseera-green);
  margin-left: 1rem;
}

.subject-card-body {
  padding: 1.5rem;
}

/* Process Step Styles */
.process-step {
  position: relative;
  padding: 1.5rem;
  margin-bottom: 2rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.process-step-number {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Benefit Item Styles */
.benefit-item {
  display: flex;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.benefit-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: var(--baseera-green-light);
  color: var(--baseera-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
  flex-shrink: 0;
}

.benefit-content {
  flex: 1;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.text-baseera-green {
  color: var(--baseera-green) !important;
}

.text-baseera-purple {
  color: var(--baseera-purple) !important;
}

.bg-primary-light {
  background-color: var(--light-primary);
}

.bg-secondary-light {
  background-color: var(--light-secondary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.hero-section {
  background: url('https://img.freepik.com/free-vector/abstract-geometric-pattern-background_1319-242.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(11, 182, 134, 0.9), rgba(171, 75, 182, 0.7));
  z-index: 0;
}

.hero-section h1 {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section p {
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

/* Add padding to first section after hero to account for fixed navbar */
.features-section {
  padding-top: 5rem !important;
}

.step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.step-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: 1rem;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cta-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  margin-top: 4rem;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -70px;
  left: -70px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.btn-baseera-store {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  color: #333;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-baseera-store i {
  margin-left: 0.8rem;
  font-size: 1.8rem;
}

.btn-baseera-store:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  width: 70px;
  margin: 0 auto;
  background: var(--gradient-primary);
}

/* Footer Styles */
.footer {
  background-color: #f8f9fa;
  padding: 4rem 0 1rem;
}

.footer-title {
  position: relative;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: #333;
  padding-bottom: 0.7rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background: var(--baseera-green);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--baseera-green);
  text-decoration: none;
  padding-right: 5px;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: var(--baseera-green-light);
  color: var(--baseera-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--baseera-green);
  color: white;
  transform: translateY(-3px);
}

.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  text-align: center;
  color: #777;
}

/* Responsive adjustments for hero section */
@media (max-width: 768px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-section h1 {
    font-size: 2.5rem !important;
  }
  
  .hero-section p {
    font-size: 1.1rem;
  }
  
  .hero-section .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem !important;
  }
  
  .hero-section .d-flex {
    flex-direction: column;
    gap: 1rem !important;
  }
  
  .hero-section .btn {
    width: 100%;
    max-width: 250px;
  }
}
