/* ========================================
   Esperanza Premium Landing Page Styles
   ======================================== */

/* ===== Hero Premium ===== */
.hero-premium {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(124, 58, 237, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #7C3AED, #EC4899);
    top: -100px;
    left: -100px;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    bottom: -50px;
    right: -50px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: #FCD34D;
    margin-bottom: var(--space-xl);
}

.hero-badge i {
    color: #F59E0B;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: white;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.btn-glow {
    background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    color: white;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
    border: none;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.7);
    color: white;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-3px);
}

.btn-white {
    background: white;
    color: #7C3AED;
    font-weight: 600;
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #5B21B6;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.hero-stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: #F59E0B;
    font-size: 1.25rem;
}

.hero-stat-content {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-mockup {
    position: relative;
}

.mockup-device {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.mockup-screen {
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
}

.mockup-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    font-size: 0.875rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    color: #10B981;
}

.floating-card-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-indicator i {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-5px);
        opacity: 0.5;
    }

    50% {
        transform: translateY(5px);
        opacity: 1;
    }
}

/* ===== Section Premium ===== */
.section-premium {
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.section-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.section-gradient {
    background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
}

.section-header-premium {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-eyebrow {
    display: inline-block;
    padding: var(--space-xs) var(--space-lg);
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.section-eyebrow.light {
    background: rgba(255, 255, 255, 0.1);
    color: #FCD34D;
}

.section-header-premium h2 {
    margin-bottom: var(--space-md);
}

.section-header-premium p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray);
}

.section-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* ===== Categories Grid ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    animation: slideUp 0.6s ease-out backwards;
    animation-delay: var(--delay);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.category-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.category-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-content h4 {
    margin: 0;
    font-size: 1.125rem;
}

.category-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: var(--radius-full);
    color: var(--primary);
    transition: all 0.3s ease;
}

.category-card:hover .category-arrow {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

.category-glow {
    position: absolute;
    top: 50%;
    right: -50px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover .category-glow {
    opacity: 0.3;
}

/* ===== Products Grid Premium ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card-premium {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUp 0.6s ease-out backwards;
    animation-delay: var(--delay);
}

.product-card-premium:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.product-card-premium .product-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.product-card-premium .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-premium:hover .product-image {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    gap: var(--space-sm);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card-premium:hover .product-overlay {
    opacity: 1;
}

.product-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.product-action:hover {
    transform: translateY(-2px);
    color: white;
}

.product-action.secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.product-card-premium .product-info {
    padding: var(--space-lg);
}

.product-card-premium .product-category {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.product-card-premium .product-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--dark);
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.product-design-fee {
    font-size: 0.75rem;
    color: var(--gray);
}

/* ===== Steps Section ===== */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    color: white;
    font-weight: 800;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
}

.step-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: var(--radius-full);
    margin: var(--space-md) auto var(--space-lg);
    font-size: 2rem;
    color: var(--primary);
}

.step-icon.highlight {
    background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    color: white;
}

.step-card h4 {
    margin-bottom: var(--space-sm);
}

.step-card p {
    font-size: 0.875rem;
    margin: 0;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--gray-light);
    font-size: 1.25rem;
    margin-top: 60px;
}

@media (max-width: 900px) {
    .step-connector {
        display: none;
    }
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    text-align: center;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.feature-card.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-lg);
    font-size: 1.5rem;
    color: white;
}

.feature-card h4 {
    color: white;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin: 0;
}

/* ===== CTA Premium ===== */
.section-cta-premium {
    position: relative;
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    top: -100px;
    left: 10%;
    opacity: 0.4;
}

.cta-shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    bottom: -50px;
    right: 10%;
    opacity: 0.3;
}

.cta-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 1;
}

.cta-content h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
}

.cta-promo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.promo-code {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 800;
    color: #FCD34D;
    letter-spacing: 2px;
}

.promo-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* ===== RTL Support ===== */
[dir="rtl"] .category-card:hover .category-arrow {
    transform: translateX(-5px);
}

[dir="rtl"] .floating-card-1 {
    left: auto;
    right: -30px;
}

[dir="rtl"] .floating-card-2 {
    right: auto;
    left: -30px;
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

/* ===== Mobile & Tablet Responsive ===== */
@media (max-width: 768px) {
    .hero-premium {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-md);
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }

    .hero-stat {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }

    .section-premium {
        padding: var(--space-2xl) 0;
    }

    .section-header-premium h2 {
        font-size: 1.5rem;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }

    .step-connector {
        transform: rotate(90deg);
        margin: var(--space-md) 0;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-promo {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-premium {
        padding: 100px var(--space-md) 40px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.875rem;
    }

    .hero-stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-stat-value {
        font-size: 1.25rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }

    .hero-glow-1,
    .hero-glow-2 {
        width: 200px;
        height: 200px;
        filter: blur(60px);
    }

    .section-eyebrow {
        font-size: 0.75rem;
    }

    .feature-card {
        padding: var(--space-lg);
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* RTL Mobile Fixes */
@media (max-width: 768px) {
    html[dir="rtl"] .hero-content {
        text-align: center;
    }

    html[dir="rtl"] .hero-actions {
        flex-direction: column;
    }

    html[dir="rtl"] .hero-stats {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Carousel Styles ===== */
.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.carousel-track {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--space-md) 0;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

/* Category cards in carousel */
.carousel-track .category-card {
    flex-shrink: 0;
    min-width: 260px;
}

/* Product cards - smaller for 5 per row */
.carousel-track .product-card-premium {
    flex-shrink: 0;
    width: calc((100% - 4 * var(--space-md)) / 5);
    min-width: 200px;
    max-width: 220px;
}

.carousel-track .product-card-premium .product-image-wrapper {
    aspect-ratio: 1;
}

.carousel-track .product-card-premium .product-info {
    padding: var(--space-md);
}

.carousel-track .product-card-premium .product-title {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-track .product-card-premium .product-price {
    font-size: 1rem;
}

.carousel-track .product-card-premium .product-design-fee {
    font-size: 0.7rem;
}

/* Premium hover animation */
.carousel-track .product-card-premium {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-track .product-card-premium:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.25);
    z-index: 5;
}

/* Category card with image support */
.category-card .category-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    flex-shrink: 0;
}

.category-card .category-icon,
.category-card .category-image {
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon,
.category-card:hover .category-image {
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .carousel-track .product-card-premium {
        min-width: 180px;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .carousel-track .category-card {
        min-width: 220px;
    }

    .carousel-track .product-card-premium {
        min-width: 160px;
        max-width: 180px;
    }

    .carousel-container {
        padding: 0 40px;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Dark section carousel buttons */
.section-dark .carousel-btn {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.section-dark .carousel-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* RTL Carousel */
html[dir="rtl"] .carousel-prev {
    right: 0;
    left: auto;
}

html[dir="rtl"] .carousel-next {
    left: 0;
    right: auto;
}

html[dir="rtl"] .carousel-track {
    flex-direction: row-reverse;
}