* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    position: relative;
    background: #fff;
    direction: ltr;
    text-align: left;
}

/* RTL/LTR Support for Products Page */
[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

/* Creative Background Elements */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.05;
    animation: float 20s infinite linear;
}

.shape:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #8B0000, #A52A2A);
    border-radius: 50%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #000, #333);
    transform: rotate(45deg);
    animation-duration: 30s;
    animation-delay: 5s;
}

.shape:nth-child(3) {
    top: 40%;
    left: 80%;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #8B0000, #000);
    border-radius: 30%;
    animation-duration: 35s;
    animation-delay: 10s;
}

.shape:nth-child(4) {
    top: 80%;
    left: 20%;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #A52A2A, #8B0000);
    border-radius: 50%;
    animation-duration: 40s;
    animation-delay: 15s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-30px) rotate(120deg);
    }

    66% {
        transform: translateY(30px) rotate(240deg);
    }

    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(196, 30, 58, 0.3);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Particle Animation Styles */
#particles-style-01 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particles-js-canvas-el {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05), rgba(196, 30, 58, 0.05));
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(196, 30, 58, 0.4);
}

.hero p {
    font-size: 1.3rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #C41E3A, #8B0000);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
}

.hero-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(196, 30, 58, 0.4);
}

/* Products Grid */
.products-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.03), rgba(196, 30, 58, 0.03));
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.1), transparent);
    transition: left 0.6s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 0, 0, 0.6);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.2);
}

.product-card:hover::before {
    left: 100%;
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B0000, #C41E3A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
    flex-grow: 1;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-features li {
    color: #666;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features li i {
    color: #C41E3A;
    font-size: 0.9rem;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 0, 0, 0.3);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    margin-top: auto;
    align-self: flex-start;
}

.product-cta:hover {
    background: #C41E3A;
    transform: translateY(-2px);
}

/* Demo Booking Section */
.demo-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05), rgba(196, 30, 58, 0.05));
}

.demo-container {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.demo-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.demo-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.demo-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 10px;
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C41E3A;
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.demo-btn {
    background: linear-gradient(135deg, #C41E3A, #8B0000);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
}

.demo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(196, 30, 58, 0.4);
}

/* Product Videos Section */
.videos-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.03), rgba(196, 30, 58, 0.03));
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.video-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 0, 0, 0.6);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.2);
}

.video-thumbnail {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #8B0000, #C41E3A);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.video-thumbnail:hover::before {
    background: rgba(0, 0, 0, 0.1);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(196, 30, 58, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-thumbnail:hover .play-button {
    transform: scale(1.1);
    background: #C41E3A;
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
}

.video-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.video-duration {
    color: #C41E3A;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Download Section Styles */
.download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.03), rgba(196, 30, 58, 0.03));
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.download-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.1), transparent);
    transition: left 0.6s ease;
}

.download-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 0, 0, 0.6);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.2);
}

.download-card:hover::before {
    left: 100%;
}

.download-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B0000, #C41E3A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.download-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
    flex-grow: 1;
}

.download-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.8rem 1rem;
    background: rgba(139, 0, 0, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.download-size {
    font-weight: 600;
    color: #8B0000;
    font-size: 0.9rem;
}

.download-meta span:last-child {
    color: #666;
    font-size: 0.85rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 0, 0, 0.3);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    margin-top: auto;
    align-self: flex-start;
}

.download-btn:hover {
    background: #C41E3A;
    transform: translateY(-2px);
}

/* Pricing Promo Card */
.pricing-promo {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.05) 0%, rgba(139, 0, 0, 0.08) 50%, rgba(196, 30, 58, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.pricing-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pricingGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23C41E3A" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23pricingGrid)"/></svg>');
    opacity: 0.3;
}

.pricing-promo-card {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 25px 60px rgba(196, 30, 58, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(196, 30, 58, 0.2);
    max-width: 800px;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.pricing-promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.1), transparent);
    transition: left 0.8s ease;
}

.pricing-promo-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 35px 80px rgba(196, 30, 58, 0.25),
        0 15px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(196, 30, 58, 0.4);
}

.pricing-promo-card:hover::before {
    left: 100%;
}

.pricing-promo-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.pricing-promo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #C41E3A, #8B0000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    box-shadow:
        0 15px 35px rgba(196, 30, 58, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.pricing-promo-card:hover .pricing-promo-icon {
    transform: scale(1.1) rotateY(15deg);
    box-shadow:
        0 20px 45px rgba(196, 30, 58, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.pricing-promo-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #C41E3A, #8B0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(196, 30, 58, 0.2);
}

.pricing-promo-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pricing-promo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.pricing-promo-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    background: rgba(196, 30, 58, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(196, 30, 58, 0.1);
    transition: all 0.3s ease;
}

.pricing-promo-feature:hover {
    background: rgba(196, 30, 58, 0.1);
    transform: translateY(-2px);
}

.pricing-promo-feature i {
    color: #C41E3A;
    font-size: 1.2rem;
    min-width: 20px;
}

.pricing-promo-feature span {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.pricing-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #C41E3A, #8B0000);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow:
        0 15px 35px rgba(196, 30, 58, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-promo-cta:hover {
    background: linear-gradient(135deg, #8B0000, #C41E3A);
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 25px 50px rgba(196, 30, 58, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.pricing-promo-cta i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.pricing-promo-cta:hover i {
    transform: translateX(5px);
}

.pricing-promo-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: linear-gradient(135deg, #C41E3A, #8B0000);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(196, 30, 58, 0.4);
    white-space: nowrap;
    min-width: 140px;
    text-align: center;
}


/* Responsive for Pricing Promo */
@media (max-width: 768px) {
    .pricing-promo-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .pricing-promo-title {
        font-size: 2rem;
    }

    .pricing-promo-subtitle {
        font-size: 1rem;
    }

    .pricing-promo-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .pricing-promo-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .pricing-promo-badge {
        top: 8px;
        right: 8px;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        min-width: 120px;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.03), rgba(196, 30, 58, 0.03));
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(139, 0, 0, 0.2);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.featured {
    border-color: #C41E3A;
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(196, 30, 58, 0.3);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #C41E3A, #8B0000);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 0 0 15px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.1), transparent);
    transition: left 0.6s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 0, 0, 0.6);
    box-shadow: 0 25px 60px rgba(139, 0, 0, 0.25);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.pricing-card:hover::after {
    left: 100%;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-plan {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(196, 30, 58, 0.2);
}

.pricing-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.pricing-price {
    margin-bottom: 2rem;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #C41E3A;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(196, 30, 58, 0.3);
}

.pricing-period {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.pricing-features li i {
    color: #C41E3A;
    font-size: 1rem;
    min-width: 16px;
}

.pricing-features li.unavailable {
    color: #999;
    text-decoration: line-through;
}

.pricing-features li.unavailable i {
    color: #999;
}

.pricing-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #C41E3A, #8B0000);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
    border: 2px solid transparent;
}

.pricing-cta:hover {
    background: linear-gradient(135deg, #8B0000, #C41E3A);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(196, 30, 58, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.pricing-cta.secondary {
    background: rgba(139, 0, 0, 0.1);
    color: #8B0000;
    border: 2px solid rgba(139, 0, 0, 0.3);
}

.pricing-cta.secondary:hover {
    background: rgba(139, 0, 0, 0.2);
    color: #8B0000;
    border-color: #8B0000;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(139, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.pricing-note p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.pricing-note strong {
    color: #C41E3A;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .demo-form {
        grid-template-columns: 1fr;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px) scale(1);
    }
}

/* 3D Carousel Styles */
.carousel-container {
    margin: 4rem auto;
    width: 280px;
    height: 320px;
    position: relative;
    perspective: 1000px;
    perspective-origin: center center;
    overflow: visible;
}

.carousel {
    height: 100%;
    width: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
    display: block;
    position: absolute;
    background: #000;
    width: 280px;
    height: 320px;
    line-height: 320px;
    font-size: 1.5em;
    text-align: center;
    color: #FFF;
    opacity: 0.95;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    transform-style: preserve-3d;
    z-index: 1;
}

.carousel-item:hover {
    opacity: 1;
}

/* Click flip effect - Flip in place without movement */
.carousel-item:nth-child(1).flipped {
    transform: rotateY(180deg) translateZ(300px) !important;
    z-index: 10;
}

.carousel-item:nth-child(2).flipped {
    transform: rotateY(60deg) translateZ(300px) rotateY(180deg) !important;
    z-index: 10;
}

.carousel-item:nth-child(3).flipped {
    transform: rotateY(120deg) translateZ(300px) rotateY(180deg) !important;
    z-index: 10;
}

.carousel-item:nth-child(4).flipped {
    transform: rotateY(180deg) translateZ(300px) rotateY(180deg) !important;
    z-index: 10;
}

.carousel-item:nth-child(5).flipped {
    transform: rotateY(240deg) translateZ(300px) rotateY(180deg) !important;
    z-index: 10;
}

.carousel-item:nth-child(6).flipped {
    transform: rotateY(300deg) translateZ(300px) rotateY(180deg) !important;
    z-index: 10;
}

/* Ensure smooth transitions for flipped cards */
.carousel-item.flipped {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Fix for 3D positioning with flip */

.carousel-item .card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    overflow: hidden;
}

.carousel-item .card-front {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.carousel-item .card-back {
    background: linear-gradient(135deg, #000000, #020202);
    transform: rotateY(180deg);
    padding: 1.5rem;
    text-align: center;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    display: block;
    height: 320px !important;
    max-height: 320px !important;
    scroll-behavior: smooth;
    position: relative;
    z-index: 10;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Custom scrollbar for desktop - Always visible */
.carousel-item .card-back::-webkit-scrollbar {
    width: 8px !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    display: block !important;
}

.carousel-item .card-back::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 4px;
    display: block !important;
}

.carousel-item .card-back::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #C41E3A, #8B0000) !important;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 1 !important;
    display: block !important;
}

.carousel-item .card-back::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #8B0000, #C41E3A) !important;
    opacity: 1 !important;
}

/* Firefox scrollbar - Always visible */
.carousel-item .card-back {
    scrollbar-width: thin !important;
    scrollbar-color: #C41E3A rgba(255, 255, 255, 0.15) !important;
}

.carousel-item .card-back h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0;
    margin-top: -121px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    top: 20px;
    transform: translateZ(0);
}

.carousel-item .card-back p {
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.3;
    margin-top: 0px;
    margin-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    top: 0;
    transform: translateZ(0);
}

.carousel-item .card-back ul {
    color: #fff;
    font-size: 0.7rem;
    line-height: 1.2;
    text-align: left;
    padding-left: 0.8rem;
    margin: 0;
    margin-top: 0;
}

.carousel-item .card-back li {
    margin-bottom: 0.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* ═══════════════════════════════════════════ */
/* أسهم التنقل للـ carousel */
/* ═══════════════════════════════════════════ */

.carousel-arrow {
    position: absolute;
    bottom: -80px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(217, 10, 44, 0.2);
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(217, 10, 44, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.carousel-prev {
    left: 50%;
    transform: translateX(-80px);
}

.carousel-next {
    left: 50%;
    transform: translateX(80px);
}

.carousel-arrow:hover {
    background: rgba(217, 10, 44, 0.4);
    color: white;
    border-color: rgba(217, 10, 44, 0.6);
}

.carousel-prev:hover {
    transform: translateX(-80px) scale(1.1);
}

.carousel-next:hover {
    transform: translateX(80px) scale(1.1);
}

.carousel-arrow:active {
    background: rgba(217, 10, 44, 0.5);
}

.carousel-prev:active {
    transform: translateX(-80px) scale(0.95);
}

.carousel-next:active {
    transform: translateX(80px) scale(0.95);
}

/* إخفاء الكاروسيل الجديد على الشاشات الكبيرة */
.mobile-carousel-section {
    display: none;
}

/* تحسينات إضافية للكاروسيل الجديد */
.mobile-carousel-section * {
    box-sizing: border-box;
}

/* تصميم كاروسيل جديد للموبايل فقط */
@media (max-width: 768px) {

    /* إخفاء الكاروسيل الأصلي في الموبايل */
    .carousel-container {
        display: none;
    }

    /* إظهار الكاروسيل الجديد للموبايل */
    .mobile-carousel-section {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .mobile-carousel-container {
        position: relative;
        width: 100%;
        overflow: hidden;
        margin-bottom: 100px;
    }

    .mobile-carousel {
        display: flex;
        transition: transform 0.5s ease;
        gap: 20px;
        padding: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-carousel::-webkit-scrollbar {
        display: none;
    }

    .mobile-carousel {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .mobile-carousel-item {
        min-width: 85%;
        height: 400px;
        perspective: 1000px;
        flex-shrink: 0;
        scroll-snap-align: center;
        position: relative;
        cursor: pointer;
    }

    .mobile-card-face {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        top: 0;
        left: 0;
    }

    .mobile-card-front {
        background: white;
        display: flex;
        flex-direction: column;
    }

    .mobile-card-front img {
        width: 100%;
        height: 70%;
        object-fit: cover;
        border-radius: 15px 15px 0 0;
    }

    .mobile-item-content {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        background: white;
        border-radius: 0 0 15px 15px;
    }

    .mobile-item-title {
        font-size: 1.5rem;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 10px;
    }

    .mobile-item-description {
        color: #7f8c8d;
        font-size: 1rem;
    }

.mobile-card-back {
    background: linear-gradient(135deg, #000000, #020202);
    color: white;
    padding: 25px;
    transform: rotateY(180deg);
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    border-radius: 15px;
    height: 400px !important;
    max-height: 400px !important;
    scroll-behavior: smooth;
    position: relative;
    z-index: 10;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Mobile scrollbar styling - Always visible */
.mobile-card-back::-webkit-scrollbar {
    width: 10px !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    display: block !important;
}

.mobile-card-back::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 5px;
    display: block !important;
}

.mobile-card-back::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #C41E3A, #8B0000) !important;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 1 !important;
    display: block !important;
}

.mobile-card-back::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #8B0000, #C41E3A) !important;
    opacity: 1 !important;
}

/* Firefox mobile scrollbar - Always visible */
.mobile-card-back {
    scrollbar-width: thin !important;
    scrollbar-color: #C41E3A rgba(255, 255, 255, 0.15) !important;
}

/* Force scrollbar visibility for all browsers */
.carousel-item .card-back,
.mobile-card-back {
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: scrollbar; /* IE and Edge */
    overflow-y: scroll !important;
}

/* Force visible scrollbar even when not hovering */
.carousel-item .card-back:hover,
.mobile-card-back:hover {
    overflow-y: scroll !important;
}

/* Safari/iOS fallback */
@supports (-webkit-overflow-scrolling: touch) {
    .carousel-item .card-back,
    .mobile-card-back {
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* Prevent scrollbar from auto-hiding and remove sliding animations */
.carousel-item .card-back::-webkit-scrollbar-thumb,
.mobile-card-back::-webkit-scrollbar-thumb {
    -webkit-transition: none !important;
    transition: none !important;
    -webkit-transform: none !important;
    transform: none !important;
}

.carousel-item .card-back::-webkit-scrollbar,
.mobile-card-back::-webkit-scrollbar {
    -webkit-transition: none !important;
    transition: none !important;
}

/* Remove any sliding animations from scroll content */
.carousel-item .card-back,
.mobile-card-back {
    -webkit-transition: none !important;
    transition: none !important;
}

.carousel-item .card-back *,
.mobile-card-back * {
    -webkit-transition: none !important;
    transition: none !important;
}

    .mobile-card-back h3 {
        font-size: 1.5rem;
        margin-bottom: 0;
        text-align: center;
        color: #ecf0f1;
        position: relative;
        top: 0;
        transform: translateZ(0);
        margin-top: 0;
    }

    .mobile-card-back p {
        margin-bottom: 20px;
        line-height: 1.6;
        text-align: center;
        position: relative;
        top: 0;
        transform: translateZ(0);
        margin-top: -10px;
    }

    .mobile-card-back ul {
        list-style-type: none;
        padding: 0;
    }

    .mobile-card-back li {
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        padding-right: 20px;
        margin-bottom: 5px;
    }

    .mobile-card-back li:before {
        content: "✓";
        position: absolute;
        right: 0;
        color: #2ecc71;
        font-weight: bold;
    }

    .mobile-carousel-item.flipped .mobile-card-front {
        transform: rotateY(180deg);
    }

    .mobile-carousel-item.flipped .mobile-card-back {
        transform: rotateY(0);
    }

    /* تحسين تأثير الـ flip */
    .mobile-carousel-item {
        transition: transform 0.3s ease;
    }

    .mobile-carousel-item.flipped {
        transform: scale(1.02);
        z-index: 10;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    }

    /* تحسينات إضافية للعرض */
    .mobile-carousel-item:active:not(.flipped) {
        transform: scale(0.98);
    }

    .mobile-carousel-item.flipped:active {
        transform: scale(1.0);
    }

    /* أسهم التنقل للموبايل */
    .mobile-carousel-arrow {
        position: absolute;
        bottom: -80px;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        z-index: 10;
        transition: all 0.3s ease;
        border: 2px solid rgba(52, 152, 219, 0.3);
    }

    .mobile-carousel-prev:hover {
        background: white;
        transform: translateX(-50%) scale(1.1);
        border-color: #3498db;
    }

    .mobile-carousel-next:hover {
        background: white;
        transform: translateX(-50%) scale(1.1);
        border-color: #3498db;
    }

    .mobile-carousel-prev:active {
        transform: translateX(-50%) scale(0.95);
    }

    .mobile-carousel-next:active {
        transform: translateX(-50%) scale(0.95);
    }

    .mobile-carousel-prev {
        left: 50%;
        transform: translateX(-50%);
        margin-left: -60px;
    }

    .mobile-carousel-next {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 60px;
    }

    .mobile-carousel-arrow i {
        font-size: 1.2rem;
        color: #3498db;
        font-weight: bold;
    }
}

@media (max-width: 480px) {
    .mobile-carousel-item {
        min-width: 90%;
        height: 380px;
    }

    .mobile-item-title {
        font-size: 1.3rem;
    }

    .mobile-card-back {
        padding: 20px;
    }

    .mobile-card-back h3 {
        font-size: 1.3rem;
    }

    .mobile-carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        bottom: -70px;
    }

    .mobile-carousel-prev {
        margin-left: -50px;
    }

    .mobile-carousel-next {
        margin-left: 50px;
    }
}

/* للشاشات الصغيرة جداً */
@media (max-width: 360px) {
    .mobile-carousel-item {
        min-width: 95%;
        height: 360px;
    }

    .mobile-item-title {
        font-size: 1.2rem;
    }

    .mobile-card-back {
        padding: 15px;
    }

    .mobile-card-back h3 {
        font-size: 1.2rem;
    }

    .mobile-card-back p {
        font-size: 0.9rem;
    }

    .mobile-card-back ul {
        font-size: 0.8rem;
    }

    .mobile-carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: -60px;
    }

    .mobile-carousel-prev {
        margin-left: -40px;
    }

    .mobile-carousel-next {
        margin-left: 40px;
    }
}

/* ═══════════════════════════════════════════ */

.carousel-item .item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    border-radius: 0 0 15px 15px;
}

.carousel-item .item-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.carousel-item .item-description {
    font-size: 1rem;
    opacity: 0.9;
}

/* 3D Positioning for 6 items */
.carousel-item:nth-child(1) {
    transform: rotateY(0deg) translateZ(300px);
    background: linear-gradient(135deg, #667eea, #764ba2);
    z-index: 1;
}

.carousel-item:nth-child(1).flipped {
    transform: rotateY(0deg) translateZ(300px) rotateY(180deg) !important;
    z-index: 10;
}

.carousel-item:nth-child(2) {
    transform: rotateY(60deg) translateZ(300px);
    background: linear-gradient(135deg, #f093fb, #f5576c);
    z-index: 1;
}

.carousel-item:nth-child(2).flipped {
    transform: rotateY(60deg) translateZ(300px) rotateY(180deg) !important;
}

.carousel-item:nth-child(3) {
    transform: rotateY(120deg) translateZ(300px);
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    z-index: 1;
}

.carousel-item:nth-child(3).flipped {
    transform: rotateY(120deg) translateZ(300px) rotateY(180deg) !important;
}

.carousel-item:nth-child(4) {
    transform: rotateY(180deg) translateZ(300px);
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    z-index: 1;
}

.carousel-item:nth-child(4).flipped {
    transform: rotateY(180deg) translateZ(300px) rotateY(180deg) !important;
}

.carousel-item:nth-child(5) {
    transform: rotateY(240deg) translateZ(300px);
    background: linear-gradient(135deg, #fa709a, #fee140);
    z-index: 1;
}

.carousel-item:nth-child(5).flipped {
    transform: rotateY(240deg) translateZ(300px) rotateY(180deg) !important;
}

.carousel-item:nth-child(6) {
    transform: rotateY(300deg) translateZ(300px);
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    z-index: 1;
}

.carousel-item:nth-child(6).flipped {
    transform: rotateY(300deg) translateZ(300px) rotateY(180deg) !important;
}


.carousel-section {
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 4rem auto;
    max-width: 500px;
    position: relative;
    z-index: 10;
    isolation: isolate;
    overflow: visible;
}

.carousel-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
    position: relative;
}

.carousel-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    /* إزالة الحواشي من الصفحة كاملة */
    body {
        padding: 0 !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }

    .container {
        padding: 0 0.5rem !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    .carousel-section {
        margin: 1rem auto;
        padding: 0.5rem;
        max-width: 100%;
        overflow: visible;
    }

    .carousel-container {
        width: 240px;
        height: 280px;
        perspective: 800px;
        perspective-origin: center center;
        overflow: visible;
        margin: 0 auto;
    }

    /* إزالة الحواشي من جميع العناصر */
    * {
        box-sizing: border-box;
    }

    .hero {
        padding: 120px 0.5rem 60px !important;
        margin: 0 !important;
    }

    .products-section {
        padding: 40px 0.5rem !important;
        margin: 0 !important;
    }

    .demo-section {
        padding: 40px 0.5rem !important;
        margin: 0 !important;
    }

    .videos-section {
        padding: 40px 0.5rem !important;
        margin: 0 !important;
    }

    .download-section {
        padding: 40px 0.5rem !important;
        margin: 0 !important;
    }

    .pricing-section {
        padding: 40px 0.5rem !important;
        margin: 0 !important;
    }

    /* إزالة الحواشي من النافبار */
    .header {
        padding: 0 !important;
        margin: 0 !important;
    }

    .nav-container {
        padding: 0 0.5rem !important;
        margin: 0 !important;
    }

    /* إزالة الحواشي من الفوتر */
    footer {
        padding: 20px 0.5rem !important;
        margin: 0 !important;
    }

    /* إزالة الحواشي من العناصر الداخلية */
    .section-header {
        margin-bottom: 2rem !important;
        padding: 0 0.5rem !important;
    }

    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
    }

    .section-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .hero h1 {
        font-size: 2.5rem !important;
        margin-bottom: 1rem !important;
    }

    .hero p {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* إزالة الحواشي من النماذج */
    .demo-form {
        padding: 0 !important;
        margin: 0 !important;
    }

    .form-group {
        margin-bottom: 1rem !important;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem !important;
        margin: 0 !important;
    }

    .carousel-item {
        width: 240px;
        height: 280px;
        line-height: 280px;
        font-size: 1.2em;
        transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .carousel-item:nth-child(1) {
        transform: rotateY(0deg) translateZ(260px);
    }

    .carousel-item:nth-child(2) {
        transform: rotateY(60deg) translateZ(260px);
    }

    .carousel-item:nth-child(3) {
        transform: rotateY(120deg) translateZ(260px);
    }

    .carousel-item:nth-child(4) {
        transform: rotateY(180deg) translateZ(260px);
    }

    .carousel-item:nth-child(5) {
        transform: rotateY(240deg) translateZ(260px);
    }

    .carousel-item:nth-child(6) {
        transform: rotateY(300deg) translateZ(260px);
    }

    .carousel-item .item-title {
        font-size: 1.1rem;
    }

    .carousel-item .item-description {
        font-size: 0.9rem;
    }

    .carousel-item .card-back {
        padding: 0.8rem;
    }

    .carousel-item .card-back h3 {
        font-size: 1rem;
        margin-bottom: 5px;
        line-height: 1.2;
    }

    .carousel-item .card-back p {
        font-size: 0.7rem;
        margin-top: 0;
        margin-bottom: 5px;
        line-height: 1.2;
    }

    .carousel-item .card-back ul {
        font-size: 0.6rem;
        line-height: 1.1;
    }

    .carousel-item .card-back li {
        margin-bottom: 0.20rem;
    }

    /* Mobile click flip - Flip in place without movement */
    .carousel-item:nth-child(1).flipped {
        transform: rotateY(0deg) translateZ(260px) rotateY(180deg) !important;
        z-index: 10;
    }

    .carousel-item:nth-child(2).flipped {
        transform: rotateY(60deg) translateZ(260px) rotateY(180deg) !important;
        z-index: 10;
    }

    .carousel-item:nth-child(3).flipped {
        transform: rotateY(120deg) translateZ(260px) rotateY(180deg) !important;
        z-index: 10;
    }

    .carousel-item:nth-child(4).flipped {
        transform: rotateY(180deg) translateZ(260px) rotateY(180deg) !important;
        z-index: 10;
    }

    .carousel-item:nth-child(5).flipped {
        transform: rotateY(240deg) translateZ(260px) rotateY(180deg) !important;
        z-index: 10;
    }

    .carousel-item:nth-child(6).flipped {
        transform: rotateY(300deg) translateZ(260px) rotateY(180deg) !important;
        z-index: 10;
    }

    /* Ensure smooth transitions for flipped cards on mobile */
    .carousel-item.flipped {
        transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

