@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #7fa695;
  --secondary-color: #f5e6d3;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --bg-light: #fdf8f3;
  --white: #ffffff;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #f9f9f9;
  color: var(--text-dark);
  line-height: 1.6;
  direction: rtl;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

/* General nav item style */
/* General nav-link style */
.navbar-nav .nav-item .nav-link {
  font-weight: 500;
  font-size: 1.05rem;
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-align: center;
}

/* Hover effect */
.navbar-nav .nav-item .nav-link:hover {
  background-color: #f8f9fa;
  /* light background */
  color: #5193f7 !important;
  /* bootstrap primary blue */
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.navbar .container-fluid {
  margin: 0 40px !important;
}

/* Active link */
.navbar-nav .nav-item .nav-link.active {
  background-color: #4d91f8 !important;
  /* bootstrap primary */
  color: #fff !important;
  /* force white text */
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Dropdown items */
.dropdown-menu .dropdown-item {
  transition: all 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #5191f1;
  color: white;
}

.logo-img {
  height: 40px;
  order: 1;
}

.navbar-nav .nav-link {
  margin-left: 1rem;
  /* spacing between links */
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.cta-btn {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Cairo", sans-serif;
}

.cta-btn:hover {
  background-color: #6a9180;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.lang-switcher {
  display: flex;
  gap: 5px;
}

.lang-btn {
  padding: 8px 15px;
  border: 1px solid var(--primary-color);
  background-color: transparent;
  color: var(--primary-color);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Cairo", sans-serif;
  font-size: 0.9rem;
}

.lang-btn.active,
.lang-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.section-title {
  font-size: 2.2rem;
  color: #0d6efd;
  font-weight: 700;
}

.founder-card {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  padding-bottom: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.founder-img {
  width: 150px;
  height: 500px;
}

.card-title {
  font-size: 1.3rem;
}

.card-subtitle {
  font-size: 1rem;
}

.founder-card ul li {
  margin-bottom: 5px;
  line-height: 1.4;
}

/* Section Management */
.section {
  padding: 40px 0;
  animation: fadeIn 0.5s;
}

.section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.hero-content {
  text-align: right;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.highlight {
  color: var(--primary-color);
}

.hero-description1 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

.hero-description2 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
  font-family: "Cairo", sans-serif;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #6a9180;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Welcome Card */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.welcome-card {
  background: linear-gradient(135deg, #7fa695 0%, #a8c5b8 50%, #f5e6d3 100%);
  padding: 40px;
  border-radius: 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  max-width: 400px;
}

.welcome-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.welcome-card::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.card-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  position: relative;
  z-index: 1;
}

.card-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.card-step {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  font-family: "Brush Script MT", cursive;
  position: relative;
  z-index: 1;
}

.card-text {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.card-handle a {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.9rem;
  font-style: italic;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.founders {
  margin: auto;
}

/* About Section */

.about-section,
.founders {
  padding: 60px 0;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.about-description {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 25px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.stat-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  margin-bottom: 15px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text-light);
  font-size: 1rem;
}

/* Featured Section */
.featured-section {
  padding: 60px 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.featured-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #e8f5e9;
  color: #4caf50;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
}

.featured-discount {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #ffebee;
  color: #f44336;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
}

.featured-content {
  text-align: center;
}

.featured-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.featured-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.featured-desc {
  color: var(--text-light);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-color);
  padding: 60px;
  border-radius: 30px;
  text-align: center;
  margin: 60px 0;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.cta-section .btn {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

.cta-section .btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.cta-section .btn:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.cta-section .btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* Store Title */
/* --- Global Settings for the Section --- */


/* Store Title */



/* Page Title */
.page-title {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Counselors Grid */
.counselors-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
  justify-items: center;
}

.counselors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.number-rating {
  display: flex;
  gap: 10px;
  justify-content: center;
  direction: ltr;
  margin: 20px;
}

.number-rating .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #aaa;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s;
  user-select: none;
}

/* المتجر*/
/* Card Container */
.founder-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 2rem 1rem;
  overflow: visible;
}

.founder-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

/* Image Styling */
.img-container {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #f8f9fa;
  outline: 2px solid #007bff;
  /* Primary Brand Color */
}

/* Text Styling */
.card-title {
  color: #2d3436;
}

.subtitle {
  color: #007bff;
  font-weight: 600;
  font-size: 0.95rem;
}

.divider {
  width: 50px;
  height: 3px;
  background-color: #007bff;
  opacity: 1;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* Bio List Styling */
.bio-list {
  text-align: center;
  /* Aligned for Arabic text */
  padding: 0 10px;
}

.bio-list li {
  font-size: 1rem;
  color: #636e72;
  margin-bottom: 10px;
  align-items: center;
  justify-content: flex-end;
  /* RTL support */
  gap: 8px;
}

.bio-list li i {
  color: #00b894;
  /* Green checkmark */
  font-size: 0.8rem;
}

/* المتجر */
/* اللون لما يكون الرقم مُفعل */
.number-rating .num.active {
  background-color: gold;
  border-color: gold;
  color: #fff;
}

.counselor-card1,
.counselor-card2 {
  background-color: var(--white);
  border-radius: 20px;
  padding: 25px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
  position: relative;
  max-height: 950px;
  width: 100%;
  max-width: 450px;
}

.counselor-card1:hover,
.counselor-card2:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.counselor-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(57, 106, 252, 0.1);
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  max-height: 750px;
  max-width: 420px;
  overflow: hidden;
}

.counselor-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 48px rgba(57, 106, 252, 0.15);
  border-color: rgba(57, 106, 252, 0.2);
}

.counselor-rating {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.counselor-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 22px;
  transition: transform 0.4s ease;
}

.counselor-card:hover .counselor-img {
  transform: scale(1.05);
}

.counselor-name {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a202c;
  letter-spacing: -0.3px;
}

.counselor-specialty {
  color: #64748b;
  margin-bottom: 18px;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.5;
}

.counselor-info {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.info-item {
  background-color: var(--bg-light);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* Professional Trainer Book Button */
.trainer-book-btn {
  background: linear-gradient(135deg, #396afc 0%, #2948ff 100%);
  color: white;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Cairo", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(57, 106, 252, 0.25);
  position: relative;
  overflow: hidden;
  margin-top: 16px;
}

.trainer-book-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.trainer-book-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(57, 106, 252, 0.4);
}

.trainer-book-btn:hover::before {
  left: 100%;
}

.trainer-book-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(57, 106, 252, 0.3);
}

.counselor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.tag {
  background-color: #e8f5e9;
  color: #4caf50;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
}

.btn-counselor {
  background-color: var(--primary-color);
  color: var(--white);
  width: 80%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Cairo", sans-serif;
}

.btn-counselor:hover {
  background-color: #aab4af;
  transform: translateY(-2px);
  color: #000;
}

/* Store Grid */
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background-color: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 10;
}

.product-badge.red {
  background-color: #ffebee;
  color: #f44336;
}

.product-badge.green {
  background-color: #e8f5e9;
  color: #4caf50;
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card h3,
.product-card p,
.product-card .product-price,
.product-card button {
  padding: 0 20px;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 20px 20px 10px;
  color: var(--text-dark);
}

.product-desc {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.6;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.price-new {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-old {
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.btn-store {
  background-color: var(--primary-color);
  color: var(--white);
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Cairo", sans-serif;
}

.btn-store:hover {
  background-color: #6a9180;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.9);
  line-height: 20px;
  font-size: 20px;
  font-weight: normal;
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links,
.footer-contact {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
}

.footer-contact span.content {
  margin-right: 8px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

/* Registration Form */
.registration-form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: "Cairo", sans-serif;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  margin-top: 20px;
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.contact-form-container {
  background-color: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.contact-card p {
  color: var(--text-light);
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .stats,
  .featured-grid,
  .counselors-grid,
  .store-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .stats,
  .featured-grid,
  .counselors-grid,
  .store-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 2rem;
  }

  .welcome-card {
    max-width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .registration-form-container,
  .contact-form-container {
    padding: 30px 20px;
  }
}

/* --------------------------------- */

.rating-box {
  direction: rtl;
  text-align: center;
  font-family: "Cairo", sans-serif;
}


.num {
  cursor: pointer;
  padding: 6px 10px;
  margin: 0 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.num.active {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}