/* Custom Styles for 6th Sense Matrix */
:root {
    --primary-blue: #1e88e5;
    --dark-blue: #1565c0;
    --light-blue: #42a5f5;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Logo Animation */
.logo-container {
    position: relative;
}

.logo-circle {
    position: relative;
    overflow: hidden;
}

.logo-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Navigation Styles */
.navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-transparent {
    background: rgba(0, 0, 0, 0.1);
    box-shadow: none;
}

.navbar-transparent .navbar-brand,
.navbar-transparent .navbar-link {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-transparent .navbar-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-transparent .navbar-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.navbar-transparent .navbar-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.navbar-transparent .navbar-dropdown {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-transparent .navbar-dropdown a {
    color: #333;
}

.navbar-transparent .navbar-mobile {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar-transparent .navbar-mobile a {
    color: #333;
}

.navbar-transparent .navbar-mobile a:first-child {
    color: #333;
}

.navbar-solid {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-solid .navbar-brand,
.navbar-solid .navbar-link {
    color: #333;
}

.navbar-solid .navbar-link:hover {
    color: var(--primary-blue);
}

.navbar-solid .navbar-btn {
    background: var(--primary-blue);
    color: white;
}

.navbar-solid .navbar-btn:hover {
    background: var(--dark-blue);
}

.navbar-solid .navbar-dropdown {
    background: white;
}

.navbar-solid .navbar-dropdown a {
    color: #333;
}

.navbar-solid .navbar-mobile {
    background: white;
}

.navbar-solid .navbar-mobile a {
    color: #333;
}

.navbar-scrolled {
    background: #111827;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-scrolled .navbar-brand,
.navbar-scrolled .navbar-link {
    color: white;
}

.navbar-scrolled .navbar-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-scrolled .navbar-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.navbar-scrolled .navbar-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-scrolled .navbar-dropdown {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-scrolled .navbar-dropdown a {
    color: white;
}

.navbar-scrolled .navbar-mobile {
    background: #111827;
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-scrolled .navbar-mobile a {
    color: white;
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-brand {
    transition: color 0.3s ease;
}

.navbar-brand-text {
    transition: color 0.3s ease;
    align-items: flex-start;
}


.navbar-link {
    transition: color 0.3s ease;
}

.navbar-btn {
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-top: -80px;
    padding-top: 80px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

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

.hero-content {
    position: absolute;
    z-index: 10;
    opacity: 1;
    pointer-events: none;
}

.hero-content > * {
    pointer-events: auto;
}

.hero-content .fade-in-up {
    animation: fadeInUp 0.3s ease-out;
    animation-fill-mode: both;
}

.hero-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.hero-btn {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: 2px solid var(--primary-blue);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    will-change: transform, background-color, color;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(1.02);
}

/* Section Spacing */
.section-padding {
    padding: 5rem 0;
}

/* Testimonial Styles */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-blue);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Social Media Icons */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
        clip-path: inset(0 0 100% 0);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        clip-path: inset(0 0 0 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.8s ease-out forwards;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
}

.slide-in-down {
    animation: slideInDown 0.8s ease-out forwards;
}

.zoom-in {
    animation: zoomIn 0.8s ease-out forwards;
}

.text-reveal {
    animation: textReveal 1s ease-out forwards;
}

/* Animation States */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.animate-on-scroll.fade-up {
    transform: translateY(30px);
}

.animate-on-scroll.fade-up.animated {
    transform: translateY(0);
}

.animate-on-scroll.fade-down {
    transform: translateY(-30px);
}

.animate-on-scroll.fade-down.animated {
    transform: translateY(0);
}

.animate-on-scroll.fade-left {
    transform: translateX(-30px);
}

.animate-on-scroll.fade-left.animated {
    transform: translateX(0);
}

.animate-on-scroll.fade-right {
    transform: translateX(30px);
}

.animate-on-scroll.fade-right.animated {
    transform: translateX(0);
}

.animate-on-scroll.scale {
    transform: scale(0.9);
}

.animate-on-scroll.scale.animated {
    transform: scale(1);
}

.animate-on-scroll.zoom {
    transform: scale(0.8);
}

.animate-on-scroll.zoom.animated {
    transform: scale(1);
}

/* Stagger Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Data Visualization Styles */
.data-visual {
    position: relative;
    overflow: hidden;
}

.data-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 136, 229, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* What We Do Section */
.service-card {
    min-height: 250px;
    padding: 1.5rem;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, background-color, box-shadow;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    opacity: 0;
}

.service-card.animated {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(30, 136, 229, 0.3);
}

/* Initial Content: Icon + Title (centered, visible by default) */
.service-initial {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 1s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform, visibility;
}

.service-card:hover .service-initial {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-30px);
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
}

.service-icon i {
    display: block;
    transition: color 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon i {
    color: #1e88e5;
}

.service-initial h3 {
    transition: color 1s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    width: 100%;
}

.service-card:hover .service-initial h3 {
    color: #1e88e5;
}

/* Hover Content: Heading + Description (starts from bottom, slides up on hover) */
.service-details {
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.service-card:hover .service-details {
    opacity: 1;
    transform: translateY(0);
}

.service-details h3 {
    text-align: center;
    width: 100%;
    transition: color 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-details h3 {
    color: #1e88e5;
}

.service-details p {
    text-align: center;
    width: 100%;
}

/* Testimonial CTA Section */
.testimonial-cta-section {
    position: relative;
    min-height: 280px;
}

.testimonial-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.testimonial-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
}

.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.testimonial-slider {
    position: relative;
    min-height: 200px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.testimonial-quote-icon {
    display: inline-block;
    line-height: 1;
}

.testimonial-text {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.testimonial-author {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.testimonial-dots {
    z-index: 10;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.testimonial-dot.active {
    background: #1e88e5;
    border-color: #1e88e5;
    width: 14px;
    height: 14px;
}

/* Scroll to Top Button */
.scroll-to-top {
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.6);
    background-color: #1565c0 !important;
}

/* Accordion Styles */
.accordion-item {
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    cursor: pointer;
    user-select: none;
}

.accordion-header.active {
    background-color: #f9fafb;
}

.accordion-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    overflow: hidden;
}

/* Why Choose Us Section */
.why-choose-section .grid {
    align-items: stretch;
}

.why-choose-section img {
    min-height: 100%;
    object-fit: cover;
}

/* Why Choose Us Feature Blocks */
.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.why-choose-block {
    padding: 1.5rem;
}

.why-choose-block-center {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 400px;
}

.why-choose-icon {
    transition: transform 0.3s ease;
}

.why-choose-block:hover .why-choose-icon {
    transform: scale(1.1);
}

.why-choose-icon svg {
    transition: color 0.3s ease;
}

.why-choose-block:hover .why-choose-icon svg {
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-choose-block-center {
        grid-column: 1;
        max-width: 100%;
    }
    
    .animate-slide-clients-rtl,
    .animate-slide-clients-ltr {
        animation-duration: 30s !important; /* Faster speed for mobile */
    }
}

/* Video Showcase Section */
.video-showcase-section {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-showcase-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-showcase-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
}

.video-showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-showcase-text {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.video-play-button {
    transition: all 0.3s ease;
}

.video-play-button:hover {
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Parallax Effects */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Image Hover Effects */
.image-zoom {
    overflow: hidden;
    position: relative;
}

.image-zoom img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.image-zoom:hover img {
    transform: scale(1.1);
}

/* Text Animation */
.animate-text {
    overflow: hidden;
}

.animate-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-text.animated span {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Card Enhancements */
.blog-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.blog-card:hover img {
    transform: scale(1.1);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-animated {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

/* Contact Form Enhancements */
.form-field {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.form-field.animated {
    opacity: 1;
    transform: translateY(0);
}

#contactForm input,
#contactForm textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#contactForm input:hover,
#contactForm textarea:hover {
    border-color: #1e88e5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

#contactForm input:focus,
#contactForm textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.15), 0 0 0 3px rgba(30, 136, 229, 0.1);
}

/* Contact Section Hero */
.contact-section .hero-content {
    position: relative;
    z-index: 10;
}

/* Responsive */
@media (max-width: 768px) {
    .industry-circle {
        width: 120px;
        height: 120px;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 3rem !important;
        letter-spacing: 1px;
    }
    
    .hero-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .hero-nav-prev {
        left: 15px;
    }
    
    .hero-nav-next {
        right: 15px;
    }
    
    .hero-indicators {
        bottom: 20px;
    }
    
    .testimonial-cta-section {
        min-height: 240px;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .testimonial-slider {
        min-height: 180px;
    }
    
    .testimonial-text {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .testimonial-quote-icon {
        margin-bottom: 0.75rem !important;
    }
    
    .testimonial-quote-icon i {
        font-size: 2.5rem !important;
    }
    
    .testimonial-dots {
        margin-top: 1rem !important;
    }
    
    .scroll-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }

    .animate-slide-clients-rtl,
    .animate-slide-clients-ltr {
        animation-duration: 30s !important; /* Faster speed for mobile */
    }
}

/* Disable animations for footer elements */
footer * {
    animation: none !important;
    opacity: 1 !important;
}

/* Client slider animations */
@keyframes slideClientsRTL {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

@keyframes slideClientsLTR {
    0% { transform: translateX(-100%); } /* Start at the end of the duplicated content */
    100% { transform: translateX(0%); } /* End at the beginning of the duplicated content */
}

.animate-slide-clients-rtl {
    animation: slideClientsRTL 60s linear infinite;
}

.animate-slide-clients-ltr {
    animation: slideClientsLTR 60s linear infinite;
}
