.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}


.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* behaves like background-size: cover */
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  z-index: -1;
}

.hero-content {
    color: white;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 50px;
}


body.rtl .hero-content {
    right: 50px;
    left: auto;
    text-align: right;
    align-items: flex-end;
}

body:not(.rtl) .hero-content {
    left: 50px;
    right: auto;
    text-align: left;
    align-items: flex-start;
}


.hero-title {
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-cta {
    background: var(--bs-primary);
    color: #333;
    padding: 15px 65px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    border: none;
    margin-top: 30px;
}

.btn-cta:hover {
    background: #ffb300;
    color: #333;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {    
    
    .hero-title {
        font-size: 2.5rem;
    }    
   
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
}


/* Video Section */

.video-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px; /* rounded corners */
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.video-frame {
  width: 100%;
  height: 450px; /* adjust height */
  border-radius: 12px;
}


.video-container {
    position: relative;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
        

.video-thumbnail {    
    width: 550px;
    max-width: 98%;
    height: auto;
    display: block;
    margin: auto;
    border-radius: 10px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}


@media (max-width: 768px) {
  .video-frame {
    height: 250px; /* smaller for mobile */
  }
  .hero-section {
    min-height: 95vh;
  }
}


/* About Section */

.abt-hero-section {
    background-color: #f8f9fa;
    padding: 80px 0; 
}

.abt-main-title {
    font-size: 2.5rem;
    font-weight: 600;    
    margin-bottom: 30px;
    line-height: 1.3;
}

.abt-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #6c757d;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.abt-cta-button {
    background: var(--bs-primary);
    border: none;
    padding: 13px 54px;
    font-size: 1.1rem;
    font-weight: 600;    
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3);
}

.abt-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.4);
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #2c3e50;
}

@media (max-width: 768px) {
    .abt-main-title {
        font-size: 2rem;
    }
    
    .abt-subtitle {
        font-size: 1.1rem;
    }
    
    .abt-hero-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .abt-main-title {
        font-size: 1.75rem;
    }
    
    .abt-subtitle {
        font-size: 1rem;
    }
    
    .abt-cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}


/* Pricing Section */
.pricing-section .pricing-title {
    font-size: 2.5rem;
    font-weight: 700;
    
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.pricing-section .pricing-subtitle {
    font-size: 1.06rem;
    color: #00000075;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
}

.pricing-section .discount-badge {
    color: var(--bs-primary);
    font-size: 0.8rem;    
    border-radius: 12px;    
    font-weight: 600;
    margin-inline-start: 8px;
}

.pricing-section .pricing-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.pricing-section .pricing-card {
    height: fit-content;
    overflow: hidden;
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #DFDFDF;
    width: 320px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-section .pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.pricing-section .ribbon {
      position: absolute;
      top: 22px;
      left: -40px;
      width: 160px;
      background: #27ae60;
      color: #fff;
      text-align: center;
      line-height: 32px;
      font-size: 0.9rem;
      font-weight: bold;
      transform: rotate(-45deg);
      box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.pricing-section .price-container {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 20px;
}

.pricing-section .price {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.pricing-section .currency {
    font-size: 1.2rem;
    color: #666;
    margin-left: 8px;
}

.pricing-section .period {
    font-size: 1rem;
    color: #666;
    margin-top: 4px;
}

.pricing-section .card-description {
    text-align: center;    
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    min-height: 48px;
}

.success-stories-section .column img{
    max-height:450px;
    object-fit: cover;
    border-radius: 15px;
}

.pricing-section .features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.pricing-section .features-list li {
    padding: 8px 0;
    color: #333;
    font-size: 0.95rem;
    position: relative;
    padding-right: 20px;
}

.pricing-section .features-list li:before {
    content: "•";
    color: var(--bs-black);
    font-weight: bold;
    position: absolute;
    right: 0;
}

.pricing-section .start-btn {
    background: var(--bs-primary);
    color: white;
    border: none;
    padding: 22px 0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

@media (max-width: 768px) {
    .pricing-section .pricing-title {
        font-size: 2rem;
    }
    
    .pricing-section .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-section .toggle-container {
        width: 280px;
    }
    
    .pricing-section .pricing-card {
        width: 100%;
        max-width: 320px;
    }
}


/* Success Stories Section */

.success-stories-section{
    background-color: #FAFAFA;
}


/* Testimonial Section */
.testimonials-section {
    font-family: 'Cairo', sans-serif;
    padding: 80px 0;
    background-color: #f8f9fa;
    direction: rtl;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 60px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    margin: 0 15px;
    border: 1px solid #C7C5C2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 30px;
    text-align: right;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8f9fa;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.author-info {
    flex: 1;
    text-align: right;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.author-title {
    font-size: 0.95rem;
    color: #f39c12;
    margin: 5px 0 0 0;
    font-weight: 500;
}

.carousel-control-prev,
.carousel-control-next {
    width: 42px;
    height: 42px;
    background-color: #f39c12;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -8px;
}

.carousel-control-next {
    right: -8px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: #e67e22;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dee2e6;
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #f39c12;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonials-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .testimonial-card {
        margin: 0 10px;
        padding: 30px 20px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .author-image {
        width: 60px;
        height: 60px;
    }

    /* .carousel-control-prev,
    .carousel-control-next {
        display: none;
    } */
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonial-card {
        margin: 0 5px;
        padding: 25px 15px;
    }
}

/* Support Section */
.support-section{
    background:#F6DC8E;
}


/* Blog Section */
.blog-section {
    font-family: 'Cairo', sans-serif;
    padding: 80px 0;
    background-color: #ffffff;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-subtitle {
    font-size: 1rem;
    color: var(--bs-black);
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.blog-content {
    padding: 24px;
}

.blog-post-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-description {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.blog-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
}

.blog-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.learn-more-btn {
    background: #ffffff;
    color: #2c3e50;
    border: 2px solid #e9ecef;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 40px;
}

.learn-more-btn:hover {
    background: #2c3e50;
    color: #ffffff;
    border-color: #2c3e50;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .blog-section {
        padding: 60px 0;
    }
    
    .blog-content {
        padding: 20px;
    }
}
