@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;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

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

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

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(8px, 1.25vw, 20px);
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-menu li {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9rem;
  white-space: nowrap;
  transition: var(--transition);
  display: inline-block;
}

.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;
}

/* Hero primary call to action */
.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn-hero-cta {
  position: relative;
  gap: 12px;
  padding: 18px 52px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  overflow: hidden;
  background-image: linear-gradient(135deg, #ff2b2b 0%, var(--primary) 55%, var(--primary-dark) 100%);
  box-shadow: 0 10px 28px rgba(221, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  animation: heroCtaPulse 2.6s ease-in-out infinite;
}

/* Sweeping shine that draws the eye to the button */
.btn-hero-cta::before {
  content: "";
  position: absolute;
  top: 0;
  right: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-20deg);
  animation: heroCtaShine 3.4s ease-in-out infinite;
  pointer-events: none;
}

.btn-hero-cta__label,
.btn-hero-cta__arrow {
  position: relative;
  z-index: 1;
}

.btn-hero-cta__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-cta__arrow svg {
  width: 100%;
  height: 100%;
}

.btn-hero-cta:hover {
  background-color: transparent;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 38px rgba(221, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  animation-play-state: paused;
}

.btn-hero-cta:hover .btn-hero-cta__arrow {
  transform: translateX(-6px);
}

.btn-hero-cta:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: 0 8px 18px rgba(221, 0, 0, 0.45);
}

.btn-hero-cta:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.hero-cta-note {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

@keyframes heroCtaPulse {
  0%, 100% {
    box-shadow: 0 10px 28px rgba(221, 0, 0, 0.42), 0 0 0 0 rgba(221, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }
  50% {
    box-shadow: 0 10px 28px rgba(221, 0, 0, 0.42), 0 0 0 14px rgba(221, 0, 0, 0), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }
}

@keyframes heroCtaShine {
  0%, 65%, 100% {
    right: -60%;
  }
  95% {
    right: 115%;
  }
}

@media (max-width: 600px) {
  .btn-hero-cta {
    width: 100%;
    max-width: 340px;
    padding: 17px 32px;
    font-size: 1.15rem;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn-hero-cta,
  .btn-hero-cta::before {
    animation: none;
  }
}

/* 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(140px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.package-tier {
  background-color: var(--surface);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.package-tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.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: 6px;
}

.tier-price-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.tier-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin: 0;
}

.tier-old-price,
.tier-old-price del {
  font-size: 0.95rem;
  color: #888888;
  font-weight: 600;
  text-decoration: line-through !important;
  text-decoration-color: #ef4444;
  line-height: 1.2;
}

.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: #10b981;
}

.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;
}

/* Duration Cards Grid */
.duration-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 6px;
}

.duration-card {
  position: relative;
  display: flex;
  align-items: center;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  padding: 16px 14px;
  cursor: pointer;
  background-color: var(--light);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.duration-card input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  margin-left: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.duration-card-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.duration-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--dark);
}

.duration-price {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}

.duration-badge {
  position: absolute;
  top: -11px;
  right: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  pointer-events: none;
}

.duration-badge.featured-badge {
  background-color: var(--primary);
}

.duration-badge.value-badge {
  background-color: #10b981;
}

.duration-card:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.duration-card:has(input[type="radio"]:checked),
.duration-card.is-selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
  box-shadow: 0 4px 16px rgba(221, 0, 0, 0.14);
}

.duration-card:has(input[type="radio"]:checked) .duration-name,
.duration-card.is-selected .duration-name {
  color: var(--primary-dark);
}

/* Payment Cards Grid */
.payment-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.payment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  padding: 14px 8px;
  cursor: pointer;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  user-select: none;
}

.payment-card input[type="radio"] {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.payment-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.payment-card-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-card-icon img,
.payment-card-icon svg {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
}

.payment-card-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.payment-card-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}

.payment-card:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.payment-card.instapay:hover,
.payment-card.instapay:has(input[type="radio"]:checked),
.payment-card.instapay.is-selected {
  border-color: #0284c7;
}

.payment-card.vodafone:hover,
.payment-card.vodafone:has(input[type="radio"]:checked),
.payment-card.vodafone.is-selected {
  border-color: #e11d48;
}

.payment-card.visa:hover,
.payment-card.visa:has(input[type="radio"]:checked),
.payment-card.visa.is-selected {
  border-color: #2563eb;
}

.payment-card:has(input[type="radio"]:checked),
.payment-card.is-selected {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.payment-card:has(input[type="radio"]:checked) .payment-card-title,
.payment-card.is-selected .payment-card-title {
  color: var(--dark);
}

.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: 1140px) {
  .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;
    z-index: 999;
  }
  
  .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;
  }
}

/* === Compact Team Section === */
.team-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 50px 0;
}

.team-card-compact {
  background: #ffffff;
  border: 1.5px solid rgba(221, 0, 0, 0.12);
  border-radius: 20px;
  padding: 24px 28px;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card-compact:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(221, 0, 0, 0.08);
  border-color: rgba(221, 0, 0, 0.25);
}

.team-card-compact .team-card-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background-color: #0d141a;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-height: 270px;
  margin: 0;
}

.team-card-compact .team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.team-card-compact .team-card-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.team-role-badge {
  display: inline-block;
  background: rgba(221, 0, 0, 0.08);
  color: var(--primary, #dd0000);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
  border: 1px solid rgba(221, 0, 0, 0.12);
}

.team-card-compact .team-member-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
  line-height: 1.25;
}

.team-card-compact .team-member-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary, #dd0000);
  margin-bottom: 14px;
}

.team-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.team-highlights-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  padding: 7px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.team-highlights-list li:hover {
  background: #ffffff;
  border-color: rgba(221, 0, 0, 0.2);
  color: #111827;
}

.team-highlights-list li svg {
  width: 16px;
  height: 16px;
  color: var(--primary, #dd0000);
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .team-card-compact {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    text-align: center;
  }
  
  .team-card-compact .team-card-image-wrap {
    max-width: 200px;
    margin: 0 auto;
  }

  .team-card-compact .team-card-info {
    align-items: center;
    text-align: center;
  }

  .team-highlights-list li {
    justify-content: center;
    font-size: 0.84rem;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .duration-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .duration-card {
    padding: 12px 10px;
  }
  
  .duration-name {
    font-size: 0.92rem;
  }
  
  .duration-price {
    font-size: 0.85rem;
  }
  
  .payment-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  
  .payment-card {
    padding: 10px 4px;
  }
  
  .payment-card-title {
    font-size: 0.78rem;
  }
  
  .payment-card-sub {
    font-size: 0.65rem;
  }
}

/* ==========================================================================
   BMI & Calorie Calculator Styles
   ========================================================================== */
.bmi-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.bmi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  background-color: #ffe4e6;
  border: 1px solid #fecdd3;
  color: #be123c;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.bmi-badge-icon {
  width: 16px;
  height: 16px;
  color: #be123c;
}

.bmi-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: stretch;
}

.bmi-form-card {
  grid-column: span 6;
}

.bmi-result-card {
  grid-column: span 6;
}

.bmi-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.bmi-card:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

.bmi-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bmi-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bmi-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #334155;
  margin-bottom: 2px;
}

.bmi-gender-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bmi-toggle-btn {
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  user-select: none;
}

.bmi-toggle-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.bmi-toggle-btn.is-active {
  background: #fff1f2;
  border-color: #e11d48;
  color: #be123c;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.15);
}

.bmi-inputs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bmi-input-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bmi-input,
.bmi-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.bmi-input:focus,
.bmi-select:focus {
  border-color: #e11d48;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.bmi-select-wrapper {
  position: relative;
  width: 100%;
}

.bmi-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 16px;
  padding-left: 38px;
  cursor: pointer;
}

.bmi-goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.bmi-goal-btn {
  padding: 10px 8px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  outline: none;
  white-space: nowrap;
}

.bmi-goal-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.bmi-goal-btn.is-active {
  background: #fff1f2;
  border-color: #e11d48;
  color: #be123c;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.15);
}

.bmi-submit-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  background: #dd0000;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  box-shadow: 0 8px 20px rgba(221, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.bmi-submit-btn:hover {
  background: #b30000;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(221, 0, 0, 0.3);
}

.bmi-btn-icon {
  width: 20px;
  height: 20px;
}

/* Result States */
.bmi-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 420px;
  padding: 24px;
}

.bmi-empty-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bmi-empty-icon {
  width: 36px;
  height: 36px;
}

.bmi-empty-state h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.bmi-empty-state p {
  font-size: 0.92rem;
  color: #64748b;
  max-width: 360px;
  line-height: 1.6;
  font-weight: 500;
}

.bmi-filled-state {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: bmiFadeIn 0.35s ease;
}

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

.bmi-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.bmi-result-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bmi-result-title h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.bmi-check-icon {
  width: 24px;
  height: 24px;
  color: #dd0000;
  flex-shrink: 0;
}

.bmi-result-badge-doc {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
}

/* Dynamic BMI Score Box Colors */
.bmi-score-box {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1.5px solid #fecdd3;
  background: #fff1f2;
  color: #be123c;
  transition: all 0.3s ease;
}

.bmi-score-box.bmi-underweight {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.bmi-score-box.bmi-normal {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.bmi-score-box.bmi-overweight {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.bmi-score-box.bmi-obese {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.bmi-score-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bmi-score-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 4px;
}

.bmi-score-value {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  margin: 0;
}

.bmi-score-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bmi-scale-icon {
  width: 40px;
  height: 40px;
  opacity: 0.85;
}

.bmi-score-category {
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.bmi-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.bmi-stat-card {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1.5px solid;
  display: flex;
  flex-direction: column;
}

.bmi-stat-tdee {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.bmi-stat-tdee .bmi-stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 4px;
}

.bmi-stat-tdee .bmi-stat-number {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 4px;
}

.bmi-stat-tdee .bmi-stat-desc {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  margin: 0;
}

.bmi-stat-target {
  background: #fff1f2;
  border-color: #fecdd3;
}

.bmi-stat-target .bmi-stat-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #be123c;
  margin-bottom: 4px;
}

.bmi-stat-target .bmi-stat-number {
  font-size: 1.6rem;
  font-weight: 900;
  color: #be123c;
  margin-bottom: 4px;
}

.bmi-stat-target .bmi-stat-desc {
  font-size: 0.75rem;
  color: #475569;
  font-weight: 600;
  margin: 0;
}

.bmi-unit {
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 4px;
}

.bmi-protein-box {
  padding: 16px 20px;
  border-radius: 16px;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bmi-protein-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #1d4ed8;
  margin-bottom: 2px;
}

.bmi-protein-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}

.bmi-flame-icon {
  width: 32px;
  height: 32px;
  color: #2563eb;
}

.bmi-cta-box {
  text-align: center;
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bmi-cta-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  margin: 0;
}

.bmi-cta-btn {
  width: 100%;
  padding: 13px 20px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bmi-arrow-icon {
  width: 18px;
  height: 18px;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .bmi-form-card,
  .bmi-result-card {
    grid-column: span 12;
  }
}

@media (max-width: 640px) {
  .bmi-card {
    padding: 22px 18px;
    border-radius: 20px;
  }
  
  .bmi-inputs-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bmi-goals-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bmi-stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bmi-empty-state {
    min-height: 320px;
    padding: 16px;
  }
}
