@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap');

:root {
  --primary: #dd0000;
  --primary-dark: #b30000;
  --secondary: #ffb1b1;
  --dark: #1f2937;
  --bg-dark: #0d141a;
  --light: #ffffff;
  --surface: #f8fafc;
  --text-dark: #111111;
  --text-muted: #4b5563;
  --border: #f3d4d4;
  --whatsapp: #25d366;
  --font-family: 'Cairo', "Segoe UI", Tahoma, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Reset and Globals */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  direction: rtl;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--surface);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: var(--font-family);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

/* Scroll Animation Elements */
.fade-up-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up-element.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--light);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(221, 0, 0, 0.2);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--light);
  gap: 8px;
}

.btn-whatsapp:hover {
  background-color: #1ebd5b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}

/* Navigation Header */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #f0e2e2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 48px;
  width: auto;
}

.nav-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  color: var(--dark);
  font-size: 1rem;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: none;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--dark);
  background-image: url('../images/drtfit-hero-1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--light);
  overflow: hidden;
  padding: 140px 0 120px;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13, 20, 26, 0.75) 0%, rgba(13, 20, 26, 0.93) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 400;
  color: var(--secondary);
  margin-bottom: 40px;
}

/* Features Highlights */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: -50px;
  position: relative;
  z-index: 2;
}

.feature-card {
  background-color: var(--light);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(221, 0, 0, 0.08);
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Section Header */
.section-header {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: inline-block;
  background-color: var(--secondary);
  padding: 4px 12px;
  border-radius: 50px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  background-color: var(--light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #f0f0f0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-image-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image-wrapper img {
  transform: scale(1.05);
}

.service-icon-badge {
  position: absolute;
  bottom: -20px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: var(--primary);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(221, 0, 0, 0.3);
}

.service-icon-badge svg {
  width: 28px;
  height: 28px;
}

.service-content {
  padding: 36px 24px 24px;
}

.service-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Integrated Package Card */
.packages-section {
  background-color: #fff9f9;
}

.packages-grid {
  max-width: 800px;
  margin: 0 auto;
}

.package-card {
  background-color: var(--light);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(221, 0, 0, 0.04);
  border: 2px solid var(--border);
  position: relative;
  overflow: hidden;
}

.package-card.featured {
  border-color: var(--primary);
}

.package-badge {
  position: absolute;
  top: 20px;
  left: -40px;
  background-color: var(--primary);
  color: var(--light);
  padding: 8px 40px;
  font-size: 0.8rem;
  font-weight: 700;
  transform: rotate(-45deg);
}

.package-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  text-align: center;
}

.package-intro {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
}

.package-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.package-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 900;
  font-size: 1.1rem;
}

.package-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.package-tier {
  background-color: var(--surface);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  position: relative;
}

.package-tier.has-tag {
  border-color: var(--primary);
  background-color: var(--surface-soft);
}

.tier-duration {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.tier-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.tier-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--light);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

.package-cta-wrapper {
  text-align: center;
}

/* Step cards */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.step-card {
  background-color: var(--light);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 1px solid #e2e8f0;
  position: relative;
}

.step-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonials-section {
  background-color: var(--dark);
  color: var(--light);
}

.testimonials-section .section-header h2 {
  color: var(--light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.client-info h3 {
  font-size: 1rem;
  font-weight: 700;
}

/* FAQs */
.faqs-section {
  background-color: var(--surface);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--light);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 24px;
  text-align: right;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 24px;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #170202 100%);
  color: var(--light);
  text-align: center;
  padding: 100px 0;
}

.final-cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.final-cta-content p {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Floating WhatsApp Button */
.drtfit-whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background-color: var(--whatsapp);
  color: var(--light);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 99;
  transition: var(--transition);
}

.drtfit-whatsapp-float::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946C.06 5.348 5.397.01 12.008.01c3.202.001 6.212 1.246 8.477 3.514 2.266 2.268 3.507 5.28 3.505 8.484-.004 6.657-5.34 11.997-11.953 11.997-2.005-.001-3.973-.502-5.717-1.458L0 24zm6.59-4.846c1.6.95 3.188 1.449 4.825 1.451 5.436 0 9.86-4.37 9.864-9.799.002-2.63-1.023-5.101-2.885-6.963C16.59 2.019 14.111.996 11.993.996c-5.448 0-9.87 4.372-9.874 9.802-.001 1.698.486 3.35 1.411 4.793L2.496 21.57l6.15-1.616zm9.214-5.328c-.287-.144-1.699-.838-1.962-.933-.264-.096-.456-.144-.648.144-.191.288-.741.933-.908 1.123-.168.19-.336.216-.622.072-2.868-1.436-3.83-2.078-5.35-4.697-.24-.411.24-.382.686-1.272.075-.152.038-.285-.019-.4-.057-.115-.456-1.101-.624-1.509-.164-.399-.344-.344-.456-.35-.115-.006-.247-.008-.38-.008-.133 0-.35.05-.533.25-.183.2-.699.68-1.027 1.332s.6 1.282.685 1.4c.086.117 1.83 2.78 4.435 3.9c1.666.716 2.502.825 3.407.69.418-.063 1.281-.523 1.461-1.028.181-.504.181-.937.127-1.029-.054-.09-.2-.144-.486-.288z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.drtfit-whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: var(--light);
  border-top: 1px solid #1a252f;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.footer-col h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
  margin-top: 8px;
  border-radius: 2px;
}

.footer-col p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
  color: #94a3b8;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.app-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  justify-content: center;
}

.app-badge-img {
  height: 40px;
  width: auto;
  border-radius: 6px;
  transition: var(--transition);
}

.app-badge-img:hover {
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid #1a252f;
  padding: 30px 0;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

/* ---------------------------------------------------- */
/* Subscription Page & Forms Custom CSS */
/* ---------------------------------------------------- */

.drtfit-subscribe {
  max-width: 600px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

.subscribe-card {
  background-color: var(--light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: var(--shadow);
}

.subscribe-card h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.subscribe-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
}

.subscribe-subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-label span {
  color: var(--primary);
}

.form-control-wrapper {
  position: relative;
}

.form-control {
  width: 100% !important;
  min-height: 50px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 1rem;
  background-color: var(--light);
  transition: var(--transition);
  display: block;
}

.form-control-wrapper .form-control {
  padding-right: 48px; /* Icon padding */
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(221, 0, 0, 0.15);
}

.form-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #64748b;
  pointer-events: none;
}

.form-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  background-color: var(--light);
  transition: var(--transition);
  font-weight: 600;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.radio-label:hover, .radio-label:has(input[type="radio"]:checked) {
  border-color: var(--primary);
  background-color: var(--surface);
}

.price-display {
  background-color: var(--surface-soft);
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.payment-method-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.payment-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  padding: 8px 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.payment-logo-badge img, .payment-logo-badge svg {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
}

.payment-logo-badge span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
}

.payment-logo-badge.instapay { border-color: #bae6fd; }
.payment-logo-badge.vodafone { border-color: #fecdd3; }
.payment-logo-badge.visa { border-color: #bfdbfe; }

.submit-btn {
  width: 100%;
  border: none;
  background-color: var(--primary);
  color: var(--light);
  min-height: 50px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(221, 0, 0, 0.2);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.message-box {
  margin-top: 16px;
  font-weight: 700;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  display: none;
}

.message-box.error {
  display: block;
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.message-box.success {
  display: block;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

/* Order Confirmation Styles */
.order-summary {
  background-color: var(--surface);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
}

.order-summary-row:last-child {
  border-bottom: none;
}

.order-summary-label {
  color: var(--text-muted);
  font-weight: 600;
}

.order-summary-value {
  color: var(--dark);
  font-weight: 700;
}

.transfer-instructions {
  background-color: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-bottom: 30px;
}

.transfer-instructions p {
  margin-bottom: 12px;
  font-weight: 600;
}

.wallet-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #b45309;
  letter-spacing: 1px;
}

.back-link {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  margin-top: 24px;
}

.back-link:hover {
  text-decoration: underline;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
}

.status-badge.pending {
  background-color: #fef3c7;
  color: #d97706;
}

.status-badge.paid {
  background-color: #d1fae5;
  color: #059669;
}

.status-badge.failed {
  background-color: #fee2e2;
  color: #dc2626;
}

/* Responsive Rules */
@media (max-width: 991px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    background-color: var(--light);
    flex-direction: column;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #f0e2e2;
    gap: 20px;
    text-align: center;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
}

/* Transformations Portfolio Slider */
.transformations-section {
  background-color: #f8fafc;
}

.slider-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
}

.slider-container {
  width: 100%;
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping into a vertical column */
  direction: ltr; /* Force LTR to simplify translation arithmetic across RTL browsers */
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
  min-width: 100%;
  flex-shrink: 0; /* Prevent slides from shrinking to fit, forcing horizontal overflow */
  padding: 0 8px;
  box-sizing: border-box;
  direction: rtl; /* Restore Arabic text directionality inside slides */
}

.transformation-card {
  background-color: var(--light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 24px;
}

.image-box-single {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 440px;
  background-color: #0d141a;
  margin-bottom: 24px;
}

.image-box-single img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.label-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: rgba(13, 20, 26, 0.85);
  color: var(--light);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.label-badge.after {
  background-color: var(--primary);
  left: 12px;
  right: auto;
}

.transformation-details {
  text-align: center;
  padding: 0 12px;
}

.transformation-details h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.transformation-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border: 1px solid var(--border);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.slider-nav:hover {
  background-color: var(--primary);
  color: var(--light);
  border-color: var(--primary);
}

/* Nav positioning (RTL intuitive: next on left, prev on right) */
.slider-nav.prev {
  right: 12px;
}

.slider-nav.next {
  left: 12px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary);
  width: 24px;
  border-radius: 5px;
}

@media (max-width: 767px) {
  .image-box-single {
    height: 300px;
  }
  .slider-nav {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
  .slider-nav.prev {
    right: 4px;
  }
  .slider-nav.next {
    left: 4px;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    margin-top: -30px;
    gap: 16px;
  }
  
  .radio-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .payment-method-logos {
    gap: 4px;
  }
  
  .payment-logo-badge {
    min-height: 46px;
    padding: 6px 8px;
  }
  
  .payment-logo-badge span {
    font-size: 0.72rem;
  }
  
  .package-card {
    padding: 24px;
  }
  
  .subscribe-card {
    padding: 30px 20px;
  }

  /* Footer mobile alignments */
  footer {
    text-align: center;
  }
  
  .footer-col {
    padding: 0 16px;
    margin-bottom: 24px;
  }
  
  .footer-col:last-child {
    margin-bottom: 0;
  }
  
  .footer-col h3::after {
    margin: 8px auto 0;
  }
  
  .footer-socials {
    justify-content: center;
  }
  
  .footer-col .nav-brand {
    justify-content: center;
  }
}
