/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Cairo", Arial, sans-serif;
  background-color: #ffffff;
  color: #333333;
  text-align: right;
  direction: rtl;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.main {
  min-height: 100vh;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #e00000, #e22d2d);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #e00000, #e22d2d);
  color: #ffffff;
}

.banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4rem;
  background-color: #a30c0c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.banner-text {
  font-size: 1.125rem;
  font-weight: 700;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-button {
  display: inline-block;
  background-color: #ffffff;
  color: #e00000;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-button:hover {
  background-color: #f5f5f5;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-image-container {
  width: 100%;
  max-width: 400px;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.hero-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background-color: #f72585;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-weight: bold;
}
/* Pricing Section */
.pricing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1rem;
  position: relative;
}

/* Cards Container */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding-bottom: 1rem;
}

/* Pricing Card */
.pricing-card {
  width: 100%;
  border-radius: 16px;
  background: #fff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;

  /* ✅ كل الكروت نفس الشكل */
  border: 2px solid #e22d2d;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Header */
.pricing-header {
  padding: 1.25rem;
  text-align: center;
  background-color: #e22d2d;
  color: #fff;
}

/* Badge */
.popular-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #f72585;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}

.pricing-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.pricing-body {
  padding: 1.25rem;
  color: #000;
}

.pricing-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.new-price {
  font-size: 1.6rem;
  font-weight: bold;
  color: #b50000;
  margin-bottom: 0.25rem;
}

.old-price {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
}

/* Features */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #333;
}

.pricing-feature {
  display: flex;
  align-items: center;
}

.feature-icon {
  color: #e22d2d;
  margin-left: 0.5rem;
  font-size: 1rem;
}

/* Button */
.pricing-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  background-color: #e22d2d;
  color: #fff;
  text-decoration: none;
  border: 2px solid #e22d2d;
  transition: background 0.3s ease, transform 0.2s ease;
}

.pricing-button:hover {
  background-color: #cc1f1f;
  transform: translateY(-2px);
}

/* خصم */
.discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #b50000;
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  z-index: 5;
}

/* Features Section */
.features {
  background-color: #f8f9fa;
  padding: 5rem 0;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  border-bottom: 4px solid transparent;
}

.feature-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
  border-bottom: 4px solid #e22d2d;
}

.feature-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  height: 80px;
  align-items: center;
}

.feature-card-icon {
  font-size: 2.5rem;
  color: #e00000;
  transition: all 0.3s;
}

.feature-card:hover .feature-card-icon {
  transform: scale(1.2);
  color: #e22d2d;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.feature-description {
  color: #666666;
  text-align: center;
  line-height: 1.6;
}

/* Why Choose Us Section */
.why-us {
  padding: 5rem 0;
  background-color: #ffffff;
}

.why-us-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.why-us-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.why-us-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.why-us-img {
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.why-us-points {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-us-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.why-us-icon {
  font-size: 1.5rem;
  color: #e00000;
  background-color: rgba(74, 0, 224, 0.1);
  padding: 1rem;
  border-radius: 50%;
  min-width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us-text h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #333333;
}

.why-us-text p {
  color: #666666;
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  background-color: #f8f9fa;
  padding: 5rem 0;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
  margin-bottom: 1rem;
  color: #f72585;
  font-size: 1.25rem;
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #555555;
}

.testimonial-author {
  font-weight: 700;
  color: #333333;
}

/* Call to Action */
.cta {
  background: linear-gradient(135deg, #e00000, #e22d2d);
  color: #ffffff;
  padding: 5rem 0;
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background-color: #ffffff;
  color: #e00000;
  padding: 1rem 3rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.25rem;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}

.cta-button:hover {
  background-color: #f5f5f5;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.cta-timer p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.countdown-item {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 0.5rem;
  min-width: 80px;
  text-align: center;
}

.countdown-item span {
  display: block;
}

.countdown-item span:first-child {
  font-size: 2rem;
  font-weight: 700;
}

.countdown-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Footer */
.footer {
  background-color: #1a1a2e;
  color: #ffffff;
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4:after,
.footer-contact h4:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #e00000, #e22d2d);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 50%;
  transition: all 0.3s;
}

.social-icon:hover {
  background-color: #e00000;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Styles */
@media (min-width: 768px) {
  .hero-container {
    flex-direction: row;
    align-items: center;
  }

  .hero-content {
    width: 50%;
    text-align: right;
    margin-bottom: 0;
  }

  .hero-image-container {
    width: 50%;
  }

  .pricing-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-content {
    flex-direction: row;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.8s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}
/* Footer Contact Buttons */
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}

.contact-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.contact-number {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  direction: ltr;
  text-align: left;
}

/* Specific styles */
.phone-btn .contact-icon {
  color: #3b82f6;
}

.whatsapp-btn .contact-icon {
  color: #25d366;
}

@media (min-width: 768px) {
  .contact-buttons {
    flex-direction: row;
    justify-content: flex-start;
  }
}
