:root {
  --primary: #4e4bff;
  --blueMid: #8a7aff;
  --light: #f5f6ff;
}
body {
  background: #f3f4fb;
  font-family: "Poppins", Arial;
}
.btn {
  background: var(--light);
  color: var(--blueMid);
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
  transition: 0.3s;
}
.btn:hover {
  color: var(--blueMid);
  transform: translateY(-2px);
}
/*header*/
.logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.main-nav {
  transition: 0.3s ease;
  background: transparent;
}

.main-nav.scrolled {
  background: var(--blueMid);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.navbar-toggler {
  border: none;
  color: var(--light) !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}
.nav-link {
  color: var(--light) !important;
  font-weight: 500;
}
.brand-logo i {
  color: var(--light) !important;
}
.brand-logo h4 {
  color: var(--light) !important;
}

.hero-modern {
  padding: 120px 0 90px;
  background: linear-gradient(
    180deg,
    #4b3df2 0%,
    #8a7aff 20%,
    #bfc4ff 45%,
    #eef0ff 70%,
    #ffffff 100%
  );
  border-radius: 0 0 35px 35px;
  color: #fff;
}

/* TEXT */
.hero-title {
  font-weight: 800;
  font-size: 38px;
  line-height: 1.2;
}

.hero-desc {
  margin-top: 10px;
  max-width: 420px;
  opacity: 0.9;
  color: rgb(255, 255, 255);
}

/* BUTTONS */
.hero-btn-primary {
  background: #fff;
  color: var(--primary);
  border-radius: 12px;
  font-weight: 600;
}

.hero-btn-outline {
  border: 2px solid #fff;
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
}
/* IMAGE */
.hero-img {
  padding: 10px 18px;
  position: relative;
  width: 300px;
  left: 80px;
  z-index: 2;
}

/* RATING BOX */
.hero-rating {
  background: var(--blueMid);
  border-radius: 16px;
  padding: 10px 18px;
  width: max-content;
  margin-top: 12px;
}

.rating-value {
  font-weight: 800;
  font-size: 20px;
}

.rating-text {
  opacity: 0.9;
  margin-left: 6px;
}
/* Appointment Bar */
.appointment-bar {
  background: var(--light);
  border-radius: 15px;
  padding: 18px 20px;
  margin-top: -50px; /* يطلع فوق الهيرو */
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
  position: relative;
}

/* حقول الفورم */
.form-field {
  border-radius: 15px;
  height: 40px;
}

/* زر الحجز */
.make-btn {
  background: var(--blueMid);
  color: #fff;
  font-weight: 600;
  border-radius: 25px;
  transition: 0.2s;
}

.make-btn:hover {
  opacity: 0.9;
  color: var(--blueMid);
  transform: translateY(-2px);
}
/* Features Section */
.feature-item {
  text-align: center;
}

.feature-icon {
  font-size: 42px;
  color: var(--blueMid);
  margin-bottom: 6px;
}

.feature-item h5 {
  font-weight: 700;
}

.feature-item p {
  color: #666;
}
/* Stats Section */
.stats-box {
  background: linear-gradient(135deg, #6b63ff, #a69eff);
  padding: 28px 35px;
  border-radius: 18px;
  color: #fff;
  gap: 15px;
}

.stats-icon {
  font-size: 36px;
  color: var(--light);
  margin-bottom: 8px;
}

.counter {
  font-size: 32px;
  font-weight: 800;
  color: beige;
}

.stats-label {
  color: beige;
  font-size: 14px;
}

/* Testimonial Section */
.testimonial-box {
  border-radius: 18px;
  overflow: hidden;
}

/* الصورة */
.testimonial-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* اليمين */
.testimonial-content {
  padding: 35px;
  text-align: center;
}

/* عنوان صغير */
.tag {
  color: var(--blueMid);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* رمز الاقتباس */
.quote-icon {
  font-size: 32px;
  color: var(--blueMid);
  margin: 10px 0;
}

/* نص الريفيو */
.testimonial-text {
  color: #666;
  font-style: italic;
  max-width: 420px;
  margin: auto;
}

/* الشخص */
.review-person {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
/*  blog css*/
.blog-card {
  border-radius: 18px;
  padding: 12px;
  gap: 12px;
}

.blog-img {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  object-fit: cover;
}

.blog-content p {
  color: #666;
  margin: 6px 0;
}

.blog-tag {
  color: var(--blueMid);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.read-link {
  color: var(--blueMid);
  font-weight: 600;
  text-decoration: none;
}

.read-link:hover {
  text-decoration: underline;
}
.faq-tag {
  color: var(--blueMid);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.accordion-button {
  font-weight: 600;
  background: #f5f8ff;
}

.accordion-button:not(.collapsed) {
  color: #4b3df2;
  background: #e8ecff;
}

.accordion-item {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid #eef1ff;
}

.cta-box {
  background: linear-gradient(135deg, #6b63ff, #a69eff);
  padding: 28px 35px;
  border-radius: 18px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

/* زر الحجز */
.cta-btn {
  background: #ffffff;
  color: #4b3df2;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 25px;
  transition: 0.2s;
}

.cta-btn:hover {
  background: var(--blueMid);
  color: var(--light);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .cta-box {
    flex-direction: column;
    text-align: center;
  }
}

/* Gallery Styles */
.gallery-hero {
  padding-top: 140px;
  padding-bottom: 90px;
}

.breadcrumb-wrap .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 16px;
}

.breadcrumb-wrap .breadcrumb-item a {
  color: #ffffff;
  text-decoration: none;
}

.breadcrumb-wrap .breadcrumb-item.active {
  color: #eef0ff;
}

.hero-gallery-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
}

.hero-gallery-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.gallery-toolbar {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.filter-btn {
  background: var(--light);
  color: var(--blueMid);
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--blueMid);
  color: #ffffff;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e8ebff;
  border-radius: 10px;
  padding: 10px 14px;
  min-width: min(100%, 320px);
  background: #f9faff;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  background: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-card {
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.gallery-link {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.gallery-link img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  padding: 16px 18px 18px;
}

.gallery-tag {
  display: inline-block;
  color: var(--blueMid);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.gallery-overlay h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #222;
}

.gallery-overlay p {
  color: #666;
  margin: 0;
  font-size: 0.95rem;
}

.gallery-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.gallery-pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-btn,
.load-more-btn {
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  background: var(--light);
  color: var(--blueMid);
  font-weight: 600;
}

.page-btn.active,
.page-btn:hover,
.load-more-btn:hover {
  background: var(--blueMid);
  color: #ffffff;
}

.load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.empty-state {
  grid-column: 1 / -1;
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 41, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1100;
}

.lightbox-card {
  width: min(100%, 760px);
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.lightbox-card img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

.lightbox-content {
  padding: 20px 24px 24px;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #222;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-toolbar {
    padding: 16px;
  }

  .gallery-hero {
    padding-top: 120px;
    padding-bottom: 70px;
  }
}

/* Footer Styles */
.footer-section {
  background: #ffffff;
}

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

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  text-decoration: none;
  color: #555;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #4e4bff;
}

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

.footer-contact li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #444;
}

.footer-contact i {
  color: #4e4bff;
  margin-right: 6px;
}

.newsletter-box input {
  border-radius: 8px;
}

.newsletter-box button {
  border-radius: 8px;
  background: linear-gradient(135deg, #6b63ff, #4b3df2);
  color: var(--light);
}

.social-icons i {
  font-size: 18px;
  cursor: pointer;
  color: var(--blueMid);
}

.social-icons i:hover {
  color: #4e4bff;
}
.logo {
  color: var(--blueMid) !important;
}
