/* Custom CSS for Arabic Version */

/* Add to style.css to prevent font-based layout shifts */
@font-face {
    font-family: 'Tajawal';
    font-display: swap; /* This prevents layout shift from font loading */
  }
  
  /* Fix for hero section layout shifts */
  .hero-section {
    min-height: 600px; /* Ensure minimum height is reserved */
  }
  
  /* Reserve space for hero content */
  .hero-content-wrapper {
    min-height: 400px;
  }
  
  /* Fix for card images to prevent shifts */
  .card-img-top {
    aspect-ratio: 16/9;
    object-fit: cover;
  }
  
  /* Fix for stats section */
  .hero-stats {
    min-height: 80px;
    width: 100%;
    max-width: 500px;
  }
  
  /* Fix testimonial image layout shifts */
  .testimonial-avatar img {
    width: 60px;
    height: 60px;
    aspect-ratio: 1/1;
    object-fit: cover;
  }

body {
    font-family: 'Tajawal', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 80px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(94, 53, 177, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.4;
    z-index: 0;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(94, 53, 177, 0.1);
    color: #5E35B1;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.hero-badge-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, rgba(94, 53, 177, 0) 0%, rgba(94, 53, 177, 0.2) 100%);
}

.text-gradient {
    background: linear-gradient(90deg, #5E35B1, #7E57C2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #555;
    max-width: 550px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-feature-icon {
    color: #5E35B1;
    font-size: 1.1rem;
}

.hero-cta .btn {
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-cta .btn-primary {
    box-shadow: 0 5px 15px rgba(94, 53, 177, 0.3);
}

.hero-cta .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-cta .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(94, 53, 177, 0.4);
}

.hero-cta .btn-outline-primary {
    color: #5E35B1;
    border-color: #5E35B1;
}

.hero-cta .btn-outline-primary:hover {
    background-color: #5E35B1;
    border-color: #5E35B1;
    color: white;
}

.hero-cta .btn-outline-primary.pulse-animation {
    position: relative;
    overflow: hidden;
}

.hero-cta .btn-outline-primary.pulse-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #5E35B1;
    border-radius: 10px;
    animation: border-pulse 2s infinite;
    z-index: 0;
}

@keyframes border-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    70% {
        transform: scale(1.12);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.hero-cta .btn-outline-primary:hover.pulse-animation::before {
    animation-play-state: paused;
}

.hero-stats {
    background-color: white;
    border-radius: 16px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: fit-content;
}

.hero-stat {
    text-align: center;
    padding: 0 15px;
}

.hero-stat-value {
    font-weight: 700;
    font-size: 1.5rem;
    color: #5E35B1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: #666;
}

.hero-stat-separator {
    width: 1px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.1);
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.1), rgba(126, 87, 194, 0.05));
    border: 1px dashed rgba(94, 53, 177, 0.2);
}

.circle-1 {
    width: 250px;
    height: 250px;
    top: -20px;
    right: 20%;
    opacity: 0.7;
}

.circle-2 {
    width: 180px;
    height: 180px;
    bottom: 10%;
    right: 10%;
    opacity: 0.5;
}

.circle-3 {
    width: 120px;
    height: 120px;
    bottom: 30%;
    right: 40%;
    opacity: 0.3;
}

.decoration-dots {
    position: absolute;
    width: 150px;
    height: 150px;
    top: 45%;
    right: 15%;
    background-image: radial-gradient(rgba(94, 53, 177, 0.2) 2px, transparent 2px);
    background-size: 15px 15px;
    border-radius: 50%;
    opacity: 0.7;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
}

.hero-image-container:hover .hero-image {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.hero-image-card {
    position: absolute;
    background-color: white;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
}

.hero-image-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-1 {
    top: 15%;
    right: -40px;
}

.card-2 {
    bottom: 15%;
    left: -40px;
}

.card-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(94, 53, 177, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5E35B1;
    font-size: 1.2rem;
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
}

.card-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #5E35B1;
}

/* Animations */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(94, 53, 177, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(94, 53, 177, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(94, 53, 177, 0);
    }
}

/* Media queries for hero responsiveness */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .card-1 {
        right: -20px;
    }
    
    .card-2 {
        left: -20px;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .min-vh-75 {
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content-wrapper {
        margin-bottom: 60px;
        text-align: center;
    }
    
    .hero-subtitle, .hero-features {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-features {
        max-width: 400px;
    }
    
    .hero-feature {
        justify-content: flex-start;
    }
    
    .hero-cta, .hero-stats {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image-card {
        padding: 10px;
    }
    
    .card-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .card-value {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-image-wrapper {
        margin-top: 20px;
    }
    
    .hero-image-card {
        transform: scale(0.9);
    }
    
    .card-1 {
        top: 10%;
        right: -10px;
    }
    
    .card-2 {
        bottom: 10%;
        left: -10px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero-stat-separator {
        display: none;
    }
    
    .hero-image-card {
        transform: scale(0.8);
    }
}

/* Hero (original - keeping for compatibility) */
.hero {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

/* Logo styling */
.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
}

.text-primary {
    color: #5E35B1 !important;
}

.btn-primary {
    background-color: #5E35B1;
    border-color: #5E35B1;
}

.btn-primary:hover {
    background-color: #4527A0;
    border-color: #4527A0;
}

.btn-outline-primary {
    color: #5E35B1;
    border-color: #5E35B1;
}

.btn-outline-primary:hover {
    background-color: #5E35B1;
    border-color: #5E35B1;
}

/* Card hover effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Images */
.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Counter section */
.counter-item {
    transition: transform 0.3s ease;
}

.counter-item:hover {
    transform: scale(1.05);
}

/* Testimonial carousel controls */
.carousel-control-prev, .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* WhatsApp floating button */
.btn-success {
    background-color: #25D366;
    border-color: #25D366;
}

.btn-success:hover {
    background-color: #128C7E;
    border-color: #128C7E;
}

/* Animation for WhatsApp button */
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

/* Animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.5s ease forwards;
}

/* Media queries for responsive design */
@media (max-width: 991.98px) {
    .hero {
        padding: 4rem 0;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 3rem 0;
    }
    
    h1.display-4 {
        font-size: 2.5rem;
    }
    
    h2.display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding: 2rem 0;
    }
    
    h1.display-4 {
        font-size: 2rem;
    }
    
    h2.display-5 {
        font-size: 1.8rem;
    }
    
    .card-img-top {
        height: 180px;
    }
}

/* RTL specific adjustments */
.navbar-nav {
    padding-right: 0;
}

.dropdown-menu {
    text-align: right;
}

.list-unstyled {
    padding-right: 0;
}

/* Fix for Bootstrap RTL spacing */
.ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

.me-2, .me-3 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

.ms-2, .ms-3 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

/* Modern Contact Styles */
.contact-info-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: #5E35B1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(94, 53, 177, 0.3);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(10deg);
}

.social-links {
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f1f1;
    color: #5E35B1;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #5E35B1;
    color: white;
    transform: translateY(-5px);
}

.contact-pattern-dots {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(rgba(94, 53, 177, 0.2) 2px, transparent 2px);
    background-size: 10px 10px;
    z-index: 0;
    border-radius: 50%;
}

.contact-pattern-circle {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(94, 53, 177, 0.05);
    z-index: 0;
}

.feature-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(94, 53, 177, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5E35B1;
}

.object-fit-cover {
    object-fit: cover;
}

.rounded-4 {
    border-radius: 1rem;
}

.rounded-start-4 {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 1rem !important;
    border-bottom-left-radius: 1rem !important;
}

.gap-2 {
    gap: 0.5rem;
}

/* How It Works Section */
.how-it-works-section {
    position: relative;
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.how-it-works-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(94, 53, 177, 0.05) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.6;
    z-index: 0;
}

.how-it-works-content {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
}

.step-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(94, 53, 177, 0.08);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(94, 53, 177, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: rgba(94, 53, 177, 0.1);
    color: #5E35B1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.step-card:hover .step-number {
    background-color: #5E35B1;
    color: white;
    box-shadow: 0 5px 15px rgba(94, 53, 177, 0.3);
}

.step-icon {
    font-size: 3rem;
    color: #5E35B1;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.step-description {
    color: #666;
    line-height: 1.6;
}

.step-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.03), rgba(126, 87, 194, 0.01));
    border: 1px dashed rgba(94, 53, 177, 0.1);
    z-index: 0;
    opacity: 0.7;
}

.step-card:nth-child(even) .step-decoration {
    top: -30px;
    right: auto;
    left: -30px;
    bottom: auto;
}

/* Animations for How It Works */
.spin-animation {
    animation: spin 10s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.bounce-animation {
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.shake-animation {
    animation: shake 3s ease infinite;
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Media queries for How It Works section */
@media (max-width: 991.98px) {
    .how-it-works-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .step-card {
        padding: 25px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .how-it-works-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .how-it-works-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .step-card {
        padding: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step-icon {
        font-size: 2.5rem;
    }
    
    .step-title {
        font-size: 1.2rem;
    }
}

/* Stats Counter Section */
.stats-counter-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #5E35B1 0%, #3949AB 100%);
    overflow: hidden;
    color: #fff;
}

.stats-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.4;
    z-index: 0;
}

.stats-content {
    position: relative;
    z-index: 1;
}

.stats-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.15);
}

.stats-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.stats-card:hover .stats-icon-wrapper {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.25);
}

.stats-icon {
    font-size: 2.5rem;
    color: #fff;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.stats-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.stats-decoration-1 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    right: -75px;
}

.stats-decoration-2 {
    width: 100px;
    height: 100px;
    top: -50px;
    left: -50px;
}

.stats-highlight {
    position: relative;
    display: inline-block;
}

.stats-highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 6px;
    bottom: 5px;
    left: 0;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: -1;
}

/* Counter animations */
@keyframes count-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-count {
    animation: count-up 1s ease forwards;
}

/* Media queries for Stats Counter section */
@media (max-width: 991.98px) {
    .stats-counter-section {
        padding: 60px 0;
    }
    
    .stats-card {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .stats-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .stats-icon {
        font-size: 2rem;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .stats-counter-section {
        padding: 50px 0;
    }
    
    .stats-card {
        padding: 20px;
    }
    
    .stats-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .stats-icon {
        font-size: 1.75rem;
    }
    
    .stats-number {
        font-size: 2.2rem;
    }
    
    .stats-label {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .stats-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .stats-icon {
        font-size: 1.5rem;
    }
    
    .stats-number {
        font-size: 1.8rem;
    }
    
    .stats-label {
        font-size: 0.9rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.testimonials-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(94, 53, 177, 0.05) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.4;
    z-index: 0;
}

.testimonials-content {
    position: relative;
    z-index: 1;
}

.testimonial-card {
    position: relative;
    background-color: #fff;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    overflow: hidden;
    border: 1px solid rgba(94, 53, 177, 0.08);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(94, 53, 177, 0.1);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 5rem;
    color: rgba(94, 53, 177, 0.08);
    line-height: 1;
    z-index: 0;
}

.testimonial-text {
    position: relative;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #555;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid rgba(94, 53, 177, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
    border-color: rgba(94, 53, 177, 0.3);
    transform: scale(1.05);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
}

.testimonial-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.testimonial-decoration {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.03), rgba(126, 87, 194, 0.01));
    border: 1px dashed rgba(94, 53, 177, 0.1);
    z-index: 0;
    opacity: 0.7;
}

.testimonial-decoration-1 {
    width: 180px;
    height: 180px;
    bottom: -90px;
    left: -90px;
}

.testimonial-decoration-2 {
    width: 120px;
    height: 120px;
    top: -60px;
    right: -60px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
}

.testimonial-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: none;
    color: #5E35B1;
}

.testimonial-arrow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(94, 53, 177, 0.15);
    background-color: #5E35B1;
    color: white;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(94, 53, 177, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-dot.active {
    width: 30px;
    border-radius: 10px;
    background-color: #5E35B1;
}

.testimonial-dot:hover:not(.active) {
    background-color: rgba(94, 53, 177, 0.4);
}

/* Responsive styles for testimonials */
@media (max-width: 991.98px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .testimonials-section {
        padding: 50px 0;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-info h4 {
        font-size: 1.05rem;
    }
}

@media (max-width: 575.98px) {
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-quote {
        font-size: 4rem;
    }
}

/* Pricing Section */
.pricing-section {
    position: relative;
    padding: 80px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.pricing-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(94, 53, 177, 0.05) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.4;
    z-index: 0;
}

.pricing-content {
    position: relative;
    z-index: 1;
}

.pricing-card {
    position: relative;
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(94, 53, 177, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(94, 53, 177, 0.15);
}

.pricing-card.featured {
    border: 2px solid #5E35B1;
    box-shadow: 0 15px 35px rgba(94, 53, 177, 0.15);
    z-index: 2;
}

.pricing-header {
    padding: 30px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(94, 53, 177, 0.08);
}

.pricing-card.featured .pricing-header {
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.08) 0%, rgba(255, 255, 255, 0) 80%);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 30px;
    background: linear-gradient(90deg, #5E35B1, #7E57C2);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 5px 15px rgba(94, 53, 177, 0.3);
}

.pricing-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.pricing-card.featured .pricing-title {
    color: #5E35B1;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #5E35B1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 5px;
    opacity: 0.8;
}

.pricing-price .period {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    margin-right: 5px;
}

.pricing-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
}

.pricing-features {
    padding: 30px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.pricing-feature-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    flex-shrink: 0;
}

.pricing-feature-icon.included {
    background-color: rgba(94, 53, 177, 0.1);
    color: #5E35B1;
}

.pricing-feature-icon.excluded {
    background-color: rgba(0, 0, 0, 0.05);
    color: #999;
}

.pricing-feature-text {
    font-size: 0.95rem;
    color: #444;
}

.pricing-feature.excluded .pricing-feature-text {
    color: #999;
}

.pricing-footer {
    padding: 0 30px 30px;
    text-align: center;
}

.pricing-cta {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pricing-cta.primary {
    background-color: #5E35B1;
    color: white;
    box-shadow: 0 5px 15px rgba(94, 53, 177, 0.3);
}

.pricing-cta.primary:hover {
    background-color: #4527A0;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(94, 53, 177, 0.4);
}

.pricing-cta.secondary {
    background-color: rgba(94, 53, 177, 0.1);
    color: #5E35B1;
    border: 1px solid rgba(94, 53, 177, 0.2);
}

.pricing-cta.secondary:hover {
    background-color: rgba(94, 53, 177, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pricing-decoration {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.03), rgba(126, 87, 194, 0.01));
    border: 1px dashed rgba(94, 53, 177, 0.1);
    z-index: 0;
    opacity: 0.7;
}

.pricing-decoration-1 {
    width: 180px;
    height: 180px;
    bottom: -90px;
    left: -90px;
}

.pricing-decoration-2 {
    width: 120px;
    height: 120px;
    top: -60px;
    right: -60px;
}

/* Media queries for pricing section */
@media (max-width: 991.98px) {
    .pricing-section {
        padding: 60px 0;
    }
    
    .pricing-card {
        margin-bottom: 20px;
    }
    
    .pricing-header {
        padding: 25px;
    }
    
    .pricing-features {
        padding: 25px;
    }
    
    .pricing-footer {
        padding: 0 25px 25px;
    }
}

@media (max-width: 767.98px) {
    .pricing-section {
        padding: 50px 0;
    }
    
    .pricing-title {
        font-size: 1.4rem;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
    
    .pricing-badge {
        right: 20px;
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .pricing-header {
        padding: 20px;
    }
    
    .pricing-features {
        padding: 20px;
    }
    
    .pricing-footer {
        padding: 0 20px 20px;
    }
    
    .pricing-title {
        font-size: 1.3rem;
    }
    
    .pricing-price {
        font-size: 2.2rem;
    }
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #5E35B1 0%, #3949AB 100%);
    overflow: hidden;
    color: #fff;
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: white;
    color: #5E35B1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    gap: 10px;
    border: none;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: #f8f9fa;
}

.cta-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.cta-decoration-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.cta-decoration-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

/* Media queries for CTA section */
@media (max-width: 991.98px) {
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-description {
        font-size: 1.15rem;
    }
}

@media (max-width: 767.98px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 60px;
    text-decoration: none;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn:hover::after {
    transform: translateX(100%);
}

.whatsapp-tooltip {
    position: absolute;
    left: 75px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    left: 70px;
}

.pulse-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.5);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Media query for smaller screens */
@media (max-width: 767.98px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
} 