/* ================== Reset CSS ================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ================== Body ================== */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
    color: #222222;
}
/* يعالج اللون الأبيض حول المحتوى */
/* الثيم الفاتح (العادي) */



/* الثيم الغامق */
body.dark-theme {
    background-color: #111827;  /* هذا يغطي خلفية الصفحة من برا */
    color: #f9f9f9;
}


/* خلي الكروت والبوكسات تصير داكنة بزيادة */
body.dark-theme .offer-card,
body.dark-theme .offers-sidebar,
body.dark-theme section,
body.dark-theme .hero-section,
body.dark-theme .footer,
body.dark-theme .navbar,
body.dark-theme .breadcrumbs {
    background-color: #1c1c1d !important;
    border-color: #333 !important;
}

body.dark-theme .review-card h4,
body.dark-theme .review-card p,
body.dark-theme .review-card .service-name {
    color: #222222 !important; /* غامق وواضح فوق الأبيض */
}
/* النافبار في الثيم الغامق */
/* Dark navbar */
body.dark-theme .navbar {
  background-color: #111827;
}

/* الفوتر في الثيم الغامق */
/* Dark footer */
body.dark-theme .footer {
  background-color: #111827;
  color: #f9f9f9;
}

/* روابط النافبار في الثيم الغامق */
/* Navbar links in dark theme */
body.dark-theme .nav-menu a {
  color: #f9f9f9;
}

/* الهيرو سيكشن في الثيم الغامق (مثال) */
/* Hero section in dark theme (example) */
body.dark-theme .hero-section {
  background-color: #111827;
  color: #f9f9f9;
}
/* ================== Navigation Bar ================== */
.navbar {
  background-color: #4CAF50;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 100%;
}
.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
}
.logo h1 { color: white; font-size: 1.8rem; }
.nav-menu { display: flex; list-style: none; gap: 2rem; }
.nav-menu a {
  color: white; text-decoration: none; padding: 0.5rem 1rem;
  border-radius: 4px; transition: background-color 0.3s;
}
.nav-menu a:hover, .nav-menu a.active { background-color: rgba(255,255,255,0.2); }

/* ================== Hero Section ================== */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white; padding: 2rem 2rem; text-align: center;
}
.hero-content h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero-content p  { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }

/* ================== Breadcrumbs ================== */
.breadcrumbs {
  padding: 10px 40px; background-color: #ecf0f1; border-bottom: 1px solid #ddd;
  font-size: 0.9rem; max-width: 1200px; margin: 0 auto;
}
.breadcrumbs a { text-decoration: none; color: #3498db; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: #7f8c8d; }

/* ================== Main Content Layout ================== */
.main-content {
  display: grid; grid-template-columns: 3fr 1fr; gap: 2rem;
  max-width: 1200px; margin: 0 auto; padding: 2rem;
}

/* ================== Services Section ================== */
.services-section {
  background: white; padding: 2rem; border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.services-section h2 {
  text-align: center; margin-bottom: 2rem; color: #2c3e50; font-size: 2rem;
}
.services-container {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: #f8f9fa; padding: 1.5rem; border-radius: 10px;
  transition: transform 0.3s; border: 2px solid #e9ecef;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-5px); border-color: #4CAF50; }
.service-content { flex: 1; display: flex; flex-direction: column; }
.service-card h3 {
  color: #4CAF50; margin-bottom: 1rem; font-size: 1.3rem;
  text-align: center; order: 1;
}
.service-description {
  color: #6c757d; line-height: 1.5; margin-bottom: 1rem;
  font-size: 0.9rem; order: 2; flex: 1;
}
.price {
  color: #e74c3c; font-weight: bold; font-size: 1.2rem;
  display: block; text-align: center; order: 3; margin-top: auto;
}
.service-image {
  height: 120px; border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); margin-bottom: 1rem;
  order: 0; background-color: #ddd; display: flex; align-items: center;
  justify-content: center; color: #666; font-size: 0.8rem;
}
.service-image img { width: 100%; height: 100%; object-fit: cover; }

/* ================== Loyalty Section ================== */
.loyalty-section {
  background: linear-gradient(135deg, #6dd5ed, #2193b0);
  padding: 3rem 2rem; text-align: center; border-radius: 10px;
  margin: 2rem auto; max-width: 1200px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); color: white;
}
.loyalty-section h2 { font-size: 2rem; margin-bottom: 1rem; }
.loyalty-section p  { font-size: 1.1rem; margin-bottom: 1.5rem; }
.loyalty-btn {
  background: #fff; color: #2193b0; padding: 0.8rem 2rem; border-radius: 25px;
  font-weight: bold; text-decoration: none; transition: 0.3s; display: inline-block;
}
.loyalty-btn:hover { background: #f1f1f1; transform: translateY(-3px); }

/* ================== Offers Sidebar ================== */
.offers-sidebar {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  padding: 2rem; border-radius: 10px;
  box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
  color: white;
}
.offers-sidebar h2 {
  text-align: center; margin-bottom: 1.5rem; font-size: 1.5rem;
}
.offer-card {
  background: rgba(255, 255, 255, 0.2); padding: 1.5rem; border-radius: 8px;
  margin-bottom: 1.5rem; text-align: center; backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.offer-card:last-child { margin-bottom: 0; }
.offer-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.offer-card p  { margin-bottom: 1rem; opacity: 0.9; font-size: 0.9rem; }
.offer-badge {
  background: #f39c12; color: white; padding: 0.3rem 0.8rem;
  border-radius: 15px; font-size: 0.8rem; display: inline-block;
}
.offer-button {
  background: white; color: #ee5a24; border: none; padding: 0.5rem 1rem;
  border-radius: 20px; cursor: pointer; font-weight: bold; transition: all 0.3s;
  width: 100%;
}
.offer-button:hover { background: #f8f9fa; transform: translateY(-2px); }

/* ================== Reviews Section ================== */
.reviews-section {
  padding: 4rem 2rem; background-color: #ecf0f1; grid-column: 1 / -1;
}
.reviews-section h2 { text-align: center; margin-bottom: 3rem; color: #2c3e50; }
.reviews-container {
  display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap;
  max-width: 1200px; margin: 0 auto;
}
.review-card {
  background: white; padding: 2rem; border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  flex: 1; min-width: 250px; max-width: 350px;
}
.review-card h4 { color: #2c3e50; margin-bottom: 0.5rem; }
.rating { color: #f39c12; margin-bottom: 1rem; font-size: 1.2rem; }
.service-name { color: #7f8c8d; font-size: 0.9rem; display: block; margin-top: 1rem; }

/* ================== Footer ================== */
.footer {
  background: #2c3e50; color: white; padding: 20px 0; font-size: 14px;
}
.footer-grid {
  max-width: 1200px; margin: auto; display: grid;
  grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; padding: 0 20px;
}
.footer-left { display: flex; align-items: center; gap: 15px; }
.footer-logo { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.footer-socials { display: flex; gap: 15px; }
.icon-box { display: flex; flex-direction: column; align-items: center; font-size: 13px; }
.social-icon { width: 30px; height: 30px; object-fit: cover; margin-bottom: 4px; }
.footer-copy { text-align: center; white-space: nowrap; }
.footer-desc { text-align: right; white-space: nowrap; opacity: .85; }

/* ================== Responsive ================== */

  


.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}
.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.services-with-offer {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.services-with-offer h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
}
.services-offer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
}
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
}
.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}
.service-card p {
    color: #7f8c8d;
    margin-bottom: 1rem;
    line-height: 1.5;
}
.price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.3rem;
    display: block;
}
.free-offer-card {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(238, 90, 36, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.offer-badge {
    background: #f39c12;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.free-offer-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.free-offer-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.5;
}
.offer-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
    text-align: left;
}
.offer-features span {
    font-size: 0.9rem;
}
.offer-button {
    background: white;
    color: #ee5a24;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-size: 1rem;
}
.offer-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}
.parent-reviews {
    padding: 4rem 2rem;
    background-color: #ecf0f1;
}
.parent-reviews h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.review-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.stars {
    color: #f39c12;
    font-size: 1.2rem;
}
.parent-name {
    font-weight: bold;
    color: #2c3e50;
}
.review-comment {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}
.review-date {
    color: #bdc3c7;
    font-size: 0.9rem;
}.footer {
  background: #2c3e50;
  color: white;
  padding: 20px 0;
  font-size: 14px;
}

.footer-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 25px;
  padding: 0 20px;
}

/* اليسار */
.footer-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

/* صندوق السوشال */
.footer-socials {
  display: flex;
  gap: 15px;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
}

.social-icon {
  width: 30px;
  height: 30px;
  object-fit: cover;
  margin-bottom: 4px;
}

/* الوسط */
.footer-copy {
  text-align: center;
  white-space: nowrap;
}

/* اليمين */
.footer-desc {
  text-align: right;
  white-space: nowrap;
  opacity: .85;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #ffffff;
}
.staff-scroll-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px ;
    background-color: #ecf0f1;
    border-radius: 8px;
    margin-bottom: 2rem;
    gap: 20px
}
.staff-card-custom {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 180px;
    margin-right: 1rem;
}
.staff-card-custom:hover {
    transform: translateY(-5px);
}
.staff-card-custom img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}
.staff-card-custom a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: bold;
    font-size: 1.1rem;
}
.join-form-container {
    background-color: #eeeeee;
    padding: 2rem;
    border-radius: 8px;
    max-width: 900px;
    margin: 2rem auto;
}
.join-form-container h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    border-bottom: none;
}
.join-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
}
.form-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-column.right {
    justify-content: space-between;
}
.join-form div {
    display: flex;
    flex-direction: column;
}
.join-form div.photo-upload {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.join-form label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    text-align: left;
}
.join-form input[type="text"],
.join-form input[type="date"],
.join-form input[type="email"],
.join-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.join-form textarea {
    height: 120px;
    resize: vertical;
}
.join-form input[type="file"] {
    max-width: 100px;
}
.form-submit-button {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 1rem;
}
.form-submit-button .offer-button {
    background: #555;
    color: white;
}
.form-submit-button .offer-button:hover {
    background: #333;
}
.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}
.profile-table th, 
.profile-table td {
    border: 1px solid #ecf0f1;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}
.profile-table .label-col {
    background-color: #ecf0f1;
    font-weight: bold;
    width: 25%;
    color: #2c3e50;
}
.profile-table .photo-cell {
    width: 150px;
    text-align: center;
    vertical-align: middle;
}
.profile-table .photo-cell img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #ccc;
    object-fit: cover;
}
.profile-table .nested-list {
    margin: 0;
    padding-left: 20px;
}
.profile-table .nested-list ul {
    margin-top: 5px;
    padding-left: 20px;
    list-style-type: circle;
}
.breadcrumbs {
    padding: 10px 40px;
    background-color: #ecf0f1;
    border-bottom: 1px solid #ddd;
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
}
.breadcrumbs a {
    text-decoration: none;
    color: #3498db;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
.breadcrumbs span {
    color: #7f8c8d;
}
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/
/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem 2rem;
  text-align: center;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Main Content */
.main-content {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

h2 {
  text-align: center;
  margin: 2rem 0 1rem;
  color: #2c3e50;
}

section {
  max-width: 1000px;
  margin: 0 auto 3rem;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Forms */
form label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.3rem;
  color: #2c3e50;
}

form input, form textarea, form button {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

form button {
  background-color: #4CAF50;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background-color: #45a049;
}

/* Images */
div img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Lists */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin: 0.5rem 0;
}

ul a {
  color: #4CAF50;
  text-decoration: none;
  font-weight: bold;
}

ul a:hover {
  text-decoration: underline;
}

/* توزيع الكروت في الوضع العادي (شاشات كبيرة) */
.services-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.services-row > div {
  width: 270px;         /* نفس العرض اللي كنتِ حاطته inline */
}


