/**
* Template Name: Mentor (Optimized)
* Template URL: https://bootstrapmade.com/mentor-free-education-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
* OPTIMIZED: Removed unused sections, kept only essential styles
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Open Sans",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #181a1b; /* Dark background for the entire website */
  --default-color: #e0e0e0; /* Light gray text for readability */
  --heading-color: #ffffff; /* White for headings */
  --accent-color: #5fcf80; /* Keep accent green for vibrancy */
  --surface-color: #23272a; /* Slightly lighter dark for cards/boxes */
  --contrast-color: #181a1b; /* For text on accent backgrounds */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #e0e0e0;  /* Light gray nav links */
  --nav-hover-color: #5fcf80; /* Accent green for hover */
  --nav-mobile-background-color: #23272a; /* Dark for mobile nav */
  --nav-dropdown-background-color: #23272a; /* Dark for dropdowns */
  --nav-dropdown-color: #e0e0e0; /* Light text in dropdowns */
  --nav-dropdown-hover-color: #5fcf80; /* Accent green for hover */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */
.light-background {
  --background-color: #23272a;
  --surface-color: #181a1b;
}

.dark-background {
  --background-color: #181a1b;
  --default-color: #e0e0e0;
  --heading-color: #ffffff;
  --surface-color: #23272a;
  --contrast-color: #181a1b;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #b00020;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #388e3c;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  background: var(--background-color);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 0;
}

.navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.sitename {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 1px;
  margin-bottom: 0;
}

.login-btn-wrapper {
  align-items: center;
}

.login-btn-wrapper .btn-login {
  min-width: 140px;
  font-size: 1rem;
  border-radius: 30px;
  padding: 0.5em 1.5em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

@media (max-width: 991.98px) {
  .navbar .container-fluid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
    min-height: 56px;
  }
  .navbar-brand {
    margin-bottom: 0 !important;
    padding: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
  }
  .login-btn-wrapper.d-lg-none {
    margin: 0;
    order: 2;
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
  }
  
  /* Mobile login button specific styling */
  .btn-login.d-lg-none {
    margin: 0 6px;
    height: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .navbar-toggler {
    margin-left: 0;
    margin-right: 0;
    order: 3;
    height: 32px;
    display: flex;
    align-items: center;
  }
}

/* Bilingual header styles for Bootstrap navbar */
.navbar-nav .nav-link {
  color: #4F8CFF; /* Modern blue accent */
  font-weight: 600;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #5fcf80; /* Green accent on hover */
  background: rgba(95, 207, 128, 0.08);
  border-radius: 0.4em;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: #5fcf80;
  background: rgba(95, 207, 128, 0.15);
  border-radius: 0.4em;
}

.navbar-nav .nav-link .ar {
  direction: rtl;
  text-align: right;
  font-family: 'Tajawal', 'Cairo', Arial, sans-serif;
  font-size: 0.95em;
  margin-top: 0.1em;
  width: 100%;
  display: block;
}

@media (max-width: 991.98px) {
  .navbar-nav {
    align-items: center;
  }
  .navbar-nav .nav-link {
    align-items: center;
    font-size: 1.1em;
    padding: 0.7em 0;
  }
  .navbar-nav .nav-link .ar {
    font-size: 1em;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  margin-bottom: 0;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 50px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--surface-color);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px 8px;
  width: 100%;
  background-color: var(--surface-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px 2px 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  --default-color: var(--contrast-color);
  --background-color: var(--accent-color);
  --heading-color: var(--contrast-color);
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--accent-color) 90%, black 5%);
  padding: 20px 0;
}

.page-title nav a {
  color: var(--default-color);
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 900px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  font-family: var(--nav-font);
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 85vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 60%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 24px;
}

.hero .btn-get-started {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  transition: 0.4s;
  margin-top: 30px;
  border: 2px solid var(--default-color);
  color: var(--default-color);
}

.hero .btn-get-started:hover {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
}

@media (max-width: 600px) {
  .hero {
    min-height: 35vh;
    height: 35vh;
    max-height: 40vh;
    margin-top: 0 !important;
    margin-bottom: 1.5rem;
    padding-top: 0 !important;
  }
  .main {
    padding-top: 0 !important;
  }
  body.index-page .hero {
    margin-top: 0 !important;
  }
}

/* === Hero Carousel Styles (moved from index.html) === */
#heroCarousel.carousel {
  width: 100vw;
  min-height: 85vh;
  height: 85vh;
  position: relative;
  z-index: 1;
}
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item,
#heroCarousel .carousel-item img {
  width: 100vw;
  min-height: 85vh;
  height: 85vh;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  /* Prevent blurry images on mobile */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
#heroCarousel .carousel-item img {
  z-index: 1;
  position: relative;
  max-width: 100vw;
  max-height: 100vh;
}
#heroCarousel .carousel-indicators,
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  z-index: 2;
}
/* Remove the .hero:before overlay for carousel */
.hero:before { display: none !important; }
/* Remove all spacing above and below the hero section */
.hero.section {
  padding: 0 !important;
  margin: 0 !important;
}
/* Mobile improvements for carousel images */
@media (max-width: 600px) {
  #heroCarousel.carousel,
  #heroCarousel .carousel-inner,
  #heroCarousel .carousel-item,
  #heroCarousel .carousel-item img {
    min-height: 50vh;
    height: 50vh;
  }
  
  .carousel-fallback {
    min-height: 50vh !important;
    height: 50vh !important;
  }
  
  .carousel-fallback h1 {
    font-size: 2rem !important;
  }
  
  .carousel-fallback p {
    font-size: 1.2rem !important;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 1.25rem;
  margin-right: 4px;
  color: var(--accent-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 10px 24px 12px 24px;
  border-radius: 50px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}

/*--------------------------------------------------------------
# Counts Section
--------------------------------------------------------------*/
.counts {
  padding: 25px 0;
}

.counts .stats-item {
  padding: 30px;
  width: 100%;
}

.counts .stats-item span {
  font-size: 48px;
  display: block;
  color: var(--accent-color);
  font-weight: 700;
}

.counts .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
#features {
  margin-top: 40px;
}

.features .features-item {
  display: flex;
  align-items: center;
  padding: 20px;
  transition: 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  position: relative;
}

.features .features-item h3,
.course-title {
  text-align: center;
  width: 100%;
  margin: 0;
  padding: 0;
  font-weight: 700;
  line-height: 1;
  font-size: 16px;
}

.features .features-item i {
  font-size: 32px;
  margin-right: 12px;
  padding-right: 0;
  line-height: 0;
}

.features .features-item {
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.features .features-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.features .features-item:hover h3 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.pricing .pricing-item h3 {
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.pricing .pricing-item h4 {
  font-size: 36px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.pricing .pricing-item h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item ul {
  padding: 15px 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

.pricing .pricing-item ul i {
  color: var(--accent-color);
  font-size: 18px;
  padding-right: 4px;
}

.pricing .pricing-item ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: line-through;
}

.pricing .btn-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  margin: 0 -20px -20px -20px;
  padding: 20px 15px;
  text-align: center;
}

.pricing .btn-buy {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
}

.pricing .btn-buy:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.pricing .featured h3 {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .advanced {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
}

/*--------------------------------------------------------------
# How Section
--------------------------------------------------------------*/
.how {
  background-color: var(--surface-color);
}

.how-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.how-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.how-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--default-color);
}

.process-steps {
  margin-top: 30px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding: 20px;
  background-color: var(--background-color);
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-color);
}

.step-number {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.step-content p {
  margin: 0;
  color: var(--default-color);
  line-height: 1.5;
}

.how-image img {
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.teaching-methods h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--heading-color);
}

.method-card {
  background-color: var(--background-color);
  padding: 30px 25px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
  height: 100%;
}

.method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-color);
}

.method-icon {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.method-icon i {
  font-size: 2rem;
  color: var(--accent-color);
}

.method-card:hover .method-icon {
  background: var(--accent-color);
}

.method-card:hover .method-icon i {
  color: var(--contrast-color);
}

.method-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.method-card p {
  color: var(--default-color);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .how-content h2 {
    font-size: 2rem;
  }
  
  .step-item {
    padding: 15px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-right: 15px;
  }
  
  .method-card {
    padding: 25px 20px;
  }
  
  .method-icon {
    width: 60px;
    height: 60px;
  }
  
  .method-icon i {
    font-size: 1.5rem;
  }
}

/*--------------------------------------------------------------
# Trainers Index Section
--------------------------------------------------------------*/
.trainers-index .member {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  text-align: center;
  margin-bottom: 20px;
}

.trainers-index .member img {
  margin: -1px -1px 30px -1px;
}

.trainers-index .member .member-content {
  padding: 0 20px 30px 20px;
}

.trainers-index .member h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
}

.trainers-index .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.trainers-index .member p {
  padding-top: 10px;
  font-size: 14px;
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.trainers-index .member .social {
  margin-top: 15px;
}

.trainers-index .member .social a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  transition: 0.3s;
}

.trainers-index .member .social a:hover {
  color: var(--accent-color);
}

.trainers-index .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

/* === Trainers Index Styles (moved from index.html) === */
#trainers-index .card,
.trainers-index .card {
  background: #23272a;
  color: #e0e0e0;
  border: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
#trainers-index .card h4,
.trainers-index .card h4 {
  color: #fff;
}
#trainers-index .card .text-muted,
.trainers-index .card .text-muted {
  color: #b0b0b0 !important;
}
#trainers-index .card .btn-outline-secondary,
.trainers-index .card .btn-outline-secondary {
  border-color: #5fcf80;
  color: #5fcf80;
}
#trainers-index .card .btn-outline-secondary:hover,
.trainers-index .card .btn-outline-secondary:hover {
  background: #5fcf80;
  color: #fff;
}
/* Show only the first trainer card per slide on mobile */
@media (max-width: 767.98px) {
  #trainers-index .carousel-item .col-md-4:not(:first-child) {
    display: none !important;
  }
}

/* Bilingual header styles */
nav#navmenu {
  margin-left: auto;
  margin-right: auto;
}
nav#navmenu ul {
  justify-content: center;
  text-align: center;
}
nav#navmenu ul li a {
  align-items: center;
}

nav#navmenu .ar, .btn-login .ar {
  display: block;
  font-size: 0.95em;
  direction: rtl;
  text-align: right;
  font-family: 'Tajawal', 'Cairo', Arial, sans-serif;
  margin-top: 0.1em;
}

nav#navmenu ul li a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: normal !important;
  word-break: break-word;
  line-height: 1.2;
  padding: 0.5em 0.8em;
}

nav#navmenu ul li a .ar {
  direction: rtl;
  text-align: right;
  font-family: 'Tajawal', 'Cairo', Arial, sans-serif;
  font-size: 0.95em;
  margin-top: 0.1em;
  width: 100%;
  display: block;
}

.btn-login {
  background: #5fcf80;
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  min-width: 140px;
  padding: 0.5em 1.5em;
  gap: 0.1em;
}
.btn-login:hover, .btn-login:focus {
  background: #5fcf80;   /* Green accent on hover/focus */
  color: #fff;
  box-shadow: 0 4px 16px rgba(95, 207, 128, 0.15);
}

.btn-login .ar {
  font-size: 0.95em;
  margin-top: 0.1em;
  text-align: center;
  width: 100%;
}

/* --- Navbar link color design --- */
.navbar-nav .nav-link {
  color: #e0e0e0;
  font-weight: 500;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--accent-color);
  background: rgba(95, 207, 128, 0.08);
  border-radius: 0.4em;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--accent-color);
  background: rgba(95, 207, 128, 0.15);
  border-radius: 0.4em;
}

/* --- Responsive adjustments for login button --- */
@media (max-width: 991.98px) {
  .btn-login {
    min-width: 70px;
    font-size: 0.93em;
    padding: 0.4em 0.8em;
    border-radius: 20px;
    height: 36px;
    min-height: 36px;
  }
}

.course-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 0;
}
.course-title .en,
.course-title .ar {
  text-align: center;
}

section:target {
  scroll-margin-top: 60px;
}

@media (max-width: 991.98px) {
  section:target {
    scroll-margin-top: 400px;
  }
}

/* Registration Modal input styles moved from index.php */
/* Registration Form Styles */
.registration-modal {
  animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.registration-modal .modal-content {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(95, 207, 128, 0.2);
}

.registration-modal .form-floating {
  position: relative;
  margin-bottom: 0.5rem;
}

.registration-modal .form-control,
.registration-modal .form-select {
  background: linear-gradient(135deg, var(--background-color), var(--surface-color)) !important;
  color: var(--heading-color) !important;
  border: 2px solid rgba(95, 207, 128, 0.1) !important;
  border-radius: 12px !important;
  padding: 1rem 1rem !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Dropdown specific styles */
.registration-modal .form-select option {
  background: var(--background-color) !important;
  color: var(--heading-color) !important;
  padding: 0.5rem !important;
}

.registration-modal .form-select:focus option:checked {
  background: var(--accent-color) !important;
  color: white !important;
}

.registration-modal .form-select option:hover {
  background: var(--accent-color) !important;
  color: white !important;
}

.registration-modal .form-control:focus,
.registration-modal .form-select:focus {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(95, 207, 128, 0.25) !important;
  transform: translateY(-2px) !important;
}

.registration-modal .form-floating label {
  padding: 1rem 1rem !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

.registration-modal .form-floating > .form-control:focus ~ label,
.registration-modal .form-floating > .form-control:not(:placeholder-shown) ~ label,
.registration-modal .form-floating > .form-select ~ label {
  transform: scale(0.85) translateY(-1rem) translateX(0.15rem) !important;
  color: var(--accent-color) !important;
  font-weight: 600 !important;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(95, 207, 128, 0.1), rgba(95, 207, 128, 0.05));
  border-radius: 12px;
  border: 1px solid rgba(95, 207, 128, 0.1);
  margin-bottom: 1.5rem;
}

.form-section {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(95, 207, 128, 0.1);
  backdrop-filter: blur(10px);
}

.btn-submit {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease !important;
}

.btn-submit:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 35px rgba(95, 207, 128, 0.4) !important;
}

.btn-submit:hover .btn-overlay {
  left: 0 !important;
}

.btn-submit:active {
  transform: translateY(-1px) !important;
}

/* Form validation styles */
.registration-modal .form-control.is-valid {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.registration-modal .form-control.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Loading state */
.btn-submit.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn-submit.loading span {
  opacity: 0;
}

.btn-submit.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Pricing Section Styles */
.pricing-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.pricing-card:hover .pricing-overlay {
  left: 0 !important;
}

.btn-pricing:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(95, 207, 128, 0.4) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .registration-modal .modal-dialog {
    margin: 1rem;
  }
  
  .registration-modal .form-floating {
    margin-bottom: 1rem;
  }
  
  .section-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .btn-submit {
    padding: 0.8rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .pricing-card {
    margin-bottom: 2rem;
  }
  
  /* Mobile Pricing Card Fixes */
  .pricing-section .pricing-card {
    padding: 1.5rem !important;
    margin: 0 1rem;
  }
  
  .pricing-section .pricing-card h3 {
    font-size: 1.3rem !important;
    margin-bottom: 0.3rem !important;
  }
  
  .pricing-section .pricing-card p {
    font-size: 0.85rem !important;
    margin-bottom: 1rem !important;
  }
  
  .pricing-section .pricing-card .pricing-card span[style*="font-size: 2.5rem"] {
    font-size: 2rem !important;
  }
  
  .pricing-section .pricing-card ul {
    margin-bottom: 1rem !important;
    text-align: center !important;
  }
  
  .pricing-section .pricing-card ul li {
    padding: 0.2rem 0 !important;
    font-size: 0.85rem !important;
    text-align: center !important;
  }
  
  .pricing-section .pricing-card ul li i {
    margin-left: 0.3rem !important;
    margin-right: 0.3rem !important;
  }
}

/* Footer Copyright Styles */
.copyright a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(95, 207, 128, 0.2) !important;
}

/* Modal Button Styles */
.btn-login, .btn-outline-success {
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.btn-login:hover, .btn-outline-success:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
}

.btn-login:active, .btn-outline-success:active {
  transform: translateY(0) !important;
}

/* Mobile button adjustments */
@media (max-width: 768px) {
  .btn-login, .btn-outline-success {
    padding: 0.8rem 2rem !important;
    min-height: 55px !important;
  }
  
  .btn-login .ar, .btn-outline-success .ar {
    font-size: 0.85rem !important;
  }
  
  .btn-login .en, .btn-outline-success .en {
    font-size: 0.8rem !important;
  }
}

/* Method Card Hover Effects */
.method-card[onclick] {
  transition: all 0.3s ease;
}

.method-card[onclick]:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(95, 207, 128, 0.2) !important;
  background: linear-gradient(135deg, rgba(95, 207, 128, 0.05), rgba(76, 175, 80, 0.05)) !important;
}

.method-card[onclick]:active {
  transform: translateY(-2px);
}

/* Disable hover effects on mobile for What You Get section only */
@media (max-width: 768px) {
  .method-card:not(.d-flex) {
    cursor: default !important;
    pointer-events: none !important;
  }
  
  .method-card:not(.d-flex):hover {
    transform: none !important;
    box-shadow: none !important;
    background: none !important;
  }
  
  .method-card:not(.d-flex):active {
    transform: none !important;
  }
}

/* WhatsApp Floating Badge */
.whatsapp-badge {
  position: fixed;
  bottom: 80px;
  right: 30px;
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-direction: row-reverse;
}

.whatsapp-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-icon i {
  font-size: 1.8rem;
  color: white;
}

.whatsapp-tooltip {
  background: linear-gradient(135deg, var(--surface-color), var(--background-color));
  padding: 12px 20px;
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border: 1px solid rgba(95, 207, 128, 0.1);
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
  white-space: nowrap;
  text-align: center;
  direction: rtl;
}

.whatsapp-tooltip span {
  display: block;
  color: var(--default-color);
  font-weight: 600;
  font-size: 0.9rem;
}

.whatsapp-badge:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-badge:hover .whatsapp-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.whatsapp-badge:active .whatsapp-icon {
  transform: scale(0.95);
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  }
  100% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  }
}

/* Mobile WhatsApp Badge */
@media (max-width: 768px) {
  .whatsapp-badge {
    bottom: 80px;
    right: 20px;
  }
  
  .whatsapp-icon {
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-icon i {
    font-size: 1.6rem;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}
