/* Modern Responsive Website Styles */

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f8f9fa;
  color: #222;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #222;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: nowrap;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.navbar {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-list li a:hover {
  color: #4e9eff;
}
.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  color: #1976d2;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.2s;
  order: 2;
}
.sidebar-toggle:hover {
  color: #2196f3;
}
.sidebar {
  position: fixed;
  top: 0;
  left: -270px;
  right: auto;
  width: 250px;
  height: 100%;
  background: linear-gradient(135deg, #1976d2 80%, #2196f3 100%);
  color: #fff;
  transition: left 0.35s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 2000;
  padding-top: 2rem;
  box-shadow: 2px 0 16px rgba(25, 118, 210, 0.15);
  border-top-right-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.sidebar.open {
  left: 0;
}
.close-sidebar {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.7rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  transition: color 0.2s;
}
.close-sidebar:hover {
  color: #ffeb3b;
}
.sidebar-list {
  list-style: none;
  padding: 0 0 0 1.5rem;
  margin: 2.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}
.sidebar-list li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0.7rem 1.2rem;
  border-radius: 0.7rem 1.2rem 1.2rem 0;
  transition: background 0.2s, color 0.2s, padding 0.2s;
  display: block;
}
.sidebar-list li a:hover,
.sidebar-list li a.active {
  background: #fff;
  color: #1976d2;
  padding-left: 2rem;
}
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25, 118, 210, 0.25);
  z-index: 1500;
}
.sidebar.open ~ .sidebar-overlay {
  display: block;
}
main {
  padding: 2rem 1rem 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #4e9eff;
  text-align: center;
}
.plans-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.plan-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  padding: 2rem 1.5rem;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}
.plan-card.platinum {
  /* Platinum: cool, bright, metallic gradient */
  background: linear-gradient(135deg, #f6f7f8 0%, #e5e4e2 40%, #b3b6b7 100%);
  color: #222;
  border: 2px solid #b3b6b7;
  position: relative;
  overflow: hidden;
}
.plan-card.platinum::before {
  /* Platinum shine overlay */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(230, 230, 230, 0.12) 60%,
    rgba(179, 182, 183, 0.1) 100%
  );
  pointer-events: none;
  border-radius: 1rem;
}
.plan-card.silver {
  /* Silver: neutral, metallic gradient */
  background: linear-gradient(
    135deg,
    #f8f9fa 0%,
    #e0e0e0 40%,
    #bfc1c2 80%,
    #c0c0c0 100%
  );
  color: #222;
  border: 2px solid #bfc1c2;
  position: relative;
  overflow: hidden;
}
.plan-card.silver::before {
  /* Silver shine overlay */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(192, 192, 192, 0.1) 60%,
    rgba(176, 176, 176, 0.08) 100%
  );
  pointer-events: none;
  border-radius: 1rem;
}
.plan-icon {
  font-size: 2.5rem;
  color: #4e9eff;
  margin-bottom: 1rem;
}
.plan-card h3 {
  margin: 0.5rem 0 1rem 0;
  font-size: 1.3rem;
}
.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  text-align: left;
}
.plan-card ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.2em;
  position: relative;
}
.plan-card ul li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #4e9eff;
  position: absolute;
  left: 0;
}
.plan-pricing {
  font-size: 1rem;
  margin-top: 1rem;
  text-align: center;
}
.offer-price {
  color: #e53935;
  font-weight: bold;
}
.offer-badge,
.badge {
  background: #e53935; /* red background for offer */
  color: #fff;
  border-radius: 0.5em;
  padding: 0.2em 0.6em;
  font-size: 0.8em;
  margin-left: 0.5em;
}
.transformations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.transformation-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  text-align: center;
}
.transformation-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.transformation-card .trans-title {
  font-weight: bold;
  color: #4e9eff;
  padding: 0.5rem 0;
}
.contact-cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.contact-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 260px;
  max-width: 340px;
}
.contact-card .icon {
  font-size: 2rem;
  color: #4e9eff;
}
.contact-card .info a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
}
.payment-section {
  margin-bottom: 2rem;
}
.payment-methods {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.payment-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 260px;
  max-width: 340px;
}
.payment-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #f5f5f5;
}
.payment-info {
  font-size: 1rem;
}
.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1.2rem 0 0.5rem 0;
  margin-top: 2rem;
}
.footer a {
  color: #4e9eff;
  text-decoration: none;
}
.social-icons {
  margin-top: 0.5rem;
}
.social-icons a {
  color: #fff;
  margin: 0 0.5rem;
  font-size: 1.3rem;
  transition: color 0.2s;
}
.social-icons a:hover {
  color: #4e9eff;
}
.main-section {
  background: url("images/background.jpg") center/cover no-repeat,
    linear-gradient(135deg, #1976d2 60%, #2196f3 100%);
  color: #fff;
  padding: 4rem 1rem 3rem 1rem;
  text-align: left;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 350px;
  border-radius: 1.5rem;
  box-shadow: 0 2px 16px rgba(25, 118, 210, 0.1);
  margin-bottom: 2rem;
}
.main-content {
  margin-right: auto;
  max-width: 500px;
}
.main-content h2,
.main-content h2 span,
.main-content h3 {
  text-align: left;
}
.main-btn {
  display: inline-block;
  background: #fff;
  color: #1976d2;
  font-weight: 600;
  padding: 0.8em 2em;
  border-radius: 2em;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
  transition: background 0.2s, color 0.2s;
  margin-left: 0;
  float: none;
}
.main-btn:hover {
  background: #1976d2;
  color: #fff;
  border: 1px solid #fff;
}
.choose-plan-btn {
  margin-top: 1.2rem;
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 2em;
  padding: 0.7em 2em;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
  display: inline-block;
}
.choose-plan-btn:hover {
  background: #2196f3;
  color: #fff;
}
body.dark-mode {
  background: #181c24;
  color: #e3e3e3;
}
body.dark-mode .header,
body.dark-mode .footer {
  background: #11131a;
  color: #e3e3e3;
}
body.dark-mode .plan-card,
body.dark-mode .contact-card,
body.dark-mode .payment-card,
body.dark-mode .transformation-card {
  background: #23283a;
  color: #e3e3e3;
}
body.dark-mode .main-section {
  background: url("images/background.jpg") center/cover no-repeat,
    linear-gradient(135deg, #11131a 60%, #23283a 100%);
  color: #fff;
}
body.dark-mode .main-content h2,
body.dark-mode .main-content h2 span,
body.dark-mode .main-content h3 {
  color: #fff;
}
body.dark-mode .main-btn {
  background: #23283a;
  color: #90caf9;
  border: 1px solid #90caf9;
}
body.dark-mode .main-btn:hover {
  background: #90caf9;
  color: #23283a;
}
body.dark-mode .plan-card ul li:before {
  color: #90caf9;
}
body.dark-mode .plan-icon {
  color: #90caf9;
}
body.dark-mode .offer-badge,
body.dark-mode .badge {
  background: #90caf9;
  color: #23283a;
}
body.dark-mode .sidebar {
  background: linear-gradient(135deg, #11131a 80%, #23283a 100%);
}
body.dark-mode .sidebar-list li a:hover,
body.dark-mode .sidebar-list li a.active {
  background: #23283a;
  color: #90caf9;
}

/* Dark mode RTL sidebar */
body.dark-mode[dir="rtl"] .sidebar-list li a:hover,
body.dark-mode[dir="rtl"] .sidebar-list li a.active {
  background: #23283a;
  color: #90caf9;
  padding: 0.7rem 2rem 0.7rem 0.7rem;
}
body.dark-mode .slider-dot.active {
  background: #90caf9;
}
body.dark-mode .slider-dot {
  background: #23283a;
}
body.dark-mode .contact-card .icon {
  color: #90caf9;
}
body.dark-mode .footer a {
  color: #90caf9;
}
body.dark-mode .social-icons a:hover {
  color: #90caf9;
}
body.dark-mode .plan-modal {
  background: #23283a;
  color: #e3e3e3;
}
body.dark-mode .close-modal {
  color: #90caf9;
}
body.dark-mode .close-modal:hover {
  color: #e53935;
}
body.dark-mode .modal-overlay {
  background: rgba(144, 202, 249, 0.18);
}
body.dark-mode .plan-modal label {
  color: #e3e3e3;
}
body.dark-mode .plan-modal input[type="radio"] {
  accent-color: #90caf9;
}
body.dark-mode .choose-plan-btn {
  background: #23283a;
  color: #90caf9;
  border: 1px solid #90caf9;
}
body.dark-mode .choose-plan-btn:hover {
  background: #90caf9;
  color: #23283a;
}
body.dark-mode .plan-pricing span,
body.dark-mode .plan-pricing b,
body.dark-mode .plan-pricing del {
  color: #fff;
}
body.dark-mode .payment-info strong,
body.dark-mode .payment-info span {
  color: #fff;
}
body.dark-mode .contact-section,
body.dark-mode .contact-card,
body.dark-mode .contact-card .info,
body.dark-mode .contact-card .info a,
body.dark-mode .contact-section .section-title {
  color: #fff !important;
}
.copyable {
  cursor: pointer;
  user-select: all;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}
.copy-btn {
  background: none;
  border: none;
  color: #1976d2;
  font-size: 1em;
  cursor: pointer;
  margin-left: 0.2em;
  padding: 0.1em 0.3em;
  border-radius: 0.3em;
  transition: background 0.2s, color 0.2s;
}
.copy-btn:hover {
  background: #e3f2fd;
  color: #2196f3;
}
body.dark-mode .copy-btn {
  color: #90caf9;
}
body.dark-mode .copy-btn:hover {
  background: #23283a;
  color: #fff;
}

/* Custom alert modal styles */
.custom-alert-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(25, 118, 210, 0.25);
  z-index: 6000;
}
.custom-alert-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #1976d2;
  border-radius: 1.2rem;
  box-shadow: 0 4px 32px rgba(25, 118, 210, 0.18);
  z-index: 7000;
  min-width: 280px;
  max-width: 90vw;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
  animation: modalFadeIn 0.3s;
}
.custom-alert-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2em;
}
body.dark-mode .custom-alert-modal {
  background: #23283a;
  color: #90caf9;
}
body.dark-mode .custom-alert-overlay {
  background: rgba(144, 202, 249, 0.18);
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(25, 118, 210, 0.25);
  z-index: 4000;
}
.plan-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #222;
  border-radius: 1.2rem;
  box-shadow: 0 4px 32px rgba(25, 118, 210, 0.18);
  z-index: 5000;
  min-width: 320px;
  max-width: 90vw;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  animation: modalFadeIn 0.3s;
}
.plan-modal-content {
  position: relative;
}
.close-modal {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1976d2;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10;
}
.close-modal:hover {
  color: #e53935;
}
.img-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(25, 30, 40, 0.92);
  z-index: 9000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  animation: modalFadeIn 0.3s;
}
.img-overlay.active {
  display: flex;
}
.img-overlay img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px rgba(25, 118, 210, 0.18);
  background: #fff;
  object-fit: contain;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.img-overlay img:active {
  transform: scale(0.98);
}
.img-overlay-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 9100;
  background: rgba(25, 30, 40, 0.7);
  border-radius: 50%;
  padding: 0.2em 0.7em;
  transition: background 0.2s, color 0.2s;
}
.img-overlay-close:hover {
  background: #1976d2;
  color: #fff;
}
.img-overlay-nav {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}
.img-overlay-btn {
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.18);
  transition: background 0.2s, color 0.2s;
}
.img-overlay-btn:hover {
  background: #2196f3;
}
body.dark-mode .img-overlay {
  background: rgba(10, 14, 24, 0.98);
}
body.dark-mode .img-overlay img {
  background: #23283a;
}
body.dark-mode .img-overlay-close {
  background: #23283a;
  color: #90caf9;
}
body.dark-mode .img-overlay-close:hover {
  background: #90caf9;
  color: #23283a;
}
body.dark-mode .img-overlay-btn {
  background: #23283a;
  color: #90caf9;
}
body.dark-mode .img-overlay-btn:hover {
  background: #90caf9;
  color: #23283a;
}
body.dark-mode .img-overlay {
  background: rgba(10, 14, 24, 0.98);
}
body.dark-mode .img-overlay img {
  background: #23283a;
}
body.dark-mode .img-overlay-close {
  background: #23283a;
  color: #90caf9;
}
body.dark-mode .img-overlay-close:hover {
  background: #90caf9;
  color: #23283a;
}
body.dark-mode .img-overlay-btn {
  background: #23283a;
  color: #90caf9;
}
body.dark-mode .img-overlay-btn:hover {
  background: #90caf9;
  color: #23283a;
}

@media (max-width: 700px) {
  .nav-list {
    display: none;
  }
  .sidebar-toggle {
    display: block;
  }
  .navbar {
    gap: 0.5rem;
  }
  .language-switcher {
    order: 1;
  }
  .sidebar-toggle {
    order: 2;
  }
}
@media (max-width: 900px) {
  .header {
    padding: 1rem;
  }
  .navbar {
    gap: 0.5rem;
  }
  .nav-list {
    display: none;
  }
  .sidebar-toggle {
    display: block;
  }
}

/* Language Switcher Styles */
.language-switcher {
  order: 1;
}

.lang-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(78, 158, 255, 0.2);
}

.lang-toggle-btn:active {
  transform: translateY(0);
}

.lang-flag {
  font-size: 1.2rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.lang-text {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lang-icon {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Dark mode language switcher */
body.dark-mode .lang-toggle-btn {
  background: rgba(144, 202, 249, 0.1);
  border-color: rgba(144, 202, 249, 0.2);
  color: #90caf9;
}

body.dark-mode .lang-toggle-btn:hover {
  background: rgba(144, 202, 249, 0.15);
  border-color: rgba(144, 202, 249, 0.3);
  box-shadow: 0 4px 12px rgba(144, 202, 249, 0.2);
}

/* RTL Layout Support */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .header {
  flex-direction: row;
  justify-content: space-between;
}

[dir="rtl"] .logo {
  order: 3;
}

[dir="rtl"] .navbar {
  order: 1;
  flex-direction: row;
}

[dir="rtl"] .nav-list {
  flex-direction: row-reverse;
}

[dir="rtl"] .sidebar {
  left: auto;
  right: -270px;
  border-top-left-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: -2px 0 16px rgba(25, 118, 210, 0.15);
  transition: right 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

[dir="rtl"] .sidebar.open {
  right: 0;
  left: auto;
}

[dir="rtl"] .close-sidebar {
  left: 1rem;
  right: auto;
}

[dir="rtl"] .sidebar-list {
  padding: 0 1.5rem 0 0;
  align-items: flex-end;
  text-align: right;
}

[dir="rtl"] .sidebar-list li {
  width: 100%;
  text-align: right;
}

[dir="rtl"] .sidebar-list li a {
  border-radius: 1.2rem 0.7rem 0 1.2rem;
  padding: 0.7rem 1.2rem 0.7rem 0.7rem;
  text-align: right;
  direction: rtl;
  width: 100%;
  box-sizing: border-box;
}

[dir="rtl"] .sidebar-list li a:hover,
[dir="rtl"] .sidebar-list li a.active {
  padding: 0.7rem 2rem 0.7rem 0.7rem;
  background: #fff;
  color: #1976d2;
}

[dir="rtl"] .sidebar-toggle {
  left: 0.5rem;
  right: auto;
}

[dir="rtl"] .main-content {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

[dir="rtl"] .main-content h2,
[dir="rtl"] .main-content h2 span,
[dir="rtl"] .main-content h3 {
  text-align: right;
}

[dir="rtl"] .plan-card ul {
  text-align: right;
}

[dir="rtl"] .plan-card ul li {
  padding-right: 1.2em;
  padding-left: 0;
}

[dir="rtl"] .plan-card ul li:before {
  right: 0;
  left: auto;
}

[dir="rtl"] .copyable {
  flex-direction: row-reverse;
}

[dir="rtl"] .copy-btn {
  margin-right: 0.2em;
  margin-left: 0;
}

[dir="rtl"] .close-modal {
  left: -0.5rem;
  right: auto;
}

[dir="rtl"] .img-overlay-close {
  left: 2rem;
  right: auto;
}

[dir="rtl"] .language-switcher {
  margin-right: 1rem;
  margin-left: 0;
}

[dir="rtl"] .lang-toggle-btn {
  flex-direction: row-reverse;
}

/* RTL specific adjustments for better Arabic text display */
[dir="rtl"] body {
  font-family: "Segoe UI", "Tahoma", "Arial", sans-serif;
}

[dir="rtl"] .sidebar {
  font-family: "Segoe UI", "Tahoma", "Arial", sans-serif;
}

[dir="rtl"] .sidebar-list li a {
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

[dir="rtl"] .section-title {
  text-align: center;
}

[dir="rtl"] .payment-card,
[dir="rtl"] .contact-card {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] .payment-info,
[dir="rtl"] .contact-card .info {
  text-align: right;
}

[dir="rtl"] .plan-modal-content {
  text-align: right;
}

[dir="rtl"] .plan-modal label {
  text-align: right;
  direction: rtl;
}

/* Animation improvements for RTL */
[dir="rtl"] .sidebar {
  transition: right 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

[dir="rtl"] .lang-toggle-btn:hover {
  transform: translateY(-2px) translateX(-1px);
}

/* Responsive adjustments for RTL */
@media (max-width: 700px) {
  [dir="rtl"] .navbar {
    flex-direction: row;
  }
  [dir="rtl"] .language-switcher {
    order: 2;
  }
  [dir="rtl"] .sidebar-toggle {
    order: 1;
  }
}

@media (max-width: 900px) {
  [dir="rtl"] .header {
    justify-content: space-between;
  }
  [dir="rtl"] .navbar {
    flex-direction: row;
  }
}

/* Additional RTL sidebar fixes */
[dir="rtl"] .sidebar-overlay {
  display: none;
}

[dir="rtl"] .sidebar.open ~ .sidebar-overlay {
  display: block;
}

/* Skeleton Loader Styles */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-dark {
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    background: #f8f9fa;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 2rem 1.5rem;
    min-width: 260px;
    max-width: 340px;
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

body.dark-mode .skeleton-card {
    background: #23283a;
}

.skeleton-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.skeleton-title {
    width: 80%;
    height: 24px;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.skeleton-text {
    width: 100%;
    height: 16px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-text.medium {
    width: 80%;
}

.skeleton-pricing {
    width: 90%;
    height: 20px;
    border-radius: 4px;
    margin: 1rem 0;
}

.skeleton-button {
    width: 120px;
    height: 40px;
    border-radius: 2rem;
    margin-top: 1rem;
}

.skeleton-image {
    width: 100%;
    height: 180px;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.skeleton-contact-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 260px;
    max-width: 340px;
}

body.dark-mode .skeleton-contact-card {
    background: #23283a;
}

.skeleton-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.skeleton-contact-info {
    flex: 1;
}

.skeleton-contact-text {
    width: 100%;
    height: 16px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.skeleton-payment-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 260px;
    max-width: 340px;
}

body.dark-mode .skeleton-payment-card {
    background: #23283a;
}

.skeleton-payment-img {
    width: 60px;
    height: 60px;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Lazy loading placeholder */
.lazy-loading {
    background: #f0f0f0;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .lazy-loading {
    background: #2a2a2a;
}

.lazy-loading::before {
    content: '⏳';
    font-size: 2rem;
    opacity: 0.5;
}

/* WhatsApp Button Styles */
.whatsapp-btn {
  background: #25d366 !important;
  color: #fff !important;
  border: none;
  border-radius: 2em;
  padding: 0.8em 2em;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.whatsapp-btn:hover {
  background: #128c7e !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:active {
  transform: translateY(0);
}

.whatsapp-btn i {
  font-size: 1.2em;
}

body.dark-mode .whatsapp-btn {
  background: #25d366 !important;
  color: #fff !important;
}

body.dark-mode .whatsapp-btn:hover {
  background: #128c7e !important;
}
