/*
 * RCS UI Custom Styles
 * Contains loading screen and cookie consent styling
 * Created for RCS Digital website
 */



/* ===== RECENT POSTS WIDGET STYLES ===== */
.recent-posts-widget {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.recent-posts-widget:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.recent-posts-widget .widget-title {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #194386;
    position: relative;
}

.recent-posts-widget .widget-title i {
    color: #194386;
    margin-right: 10px;
    font-size: 18px;
}

.recent-posts-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 2px;
}

.recent-posts-list {
    margin-bottom: 20px;
}

.recent-post-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-item:hover {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 0 -15px;
}

.recent-post-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.recent-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-thumbnail:hover img {
    transform: scale(1.1);
}

.recent-post-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(25, 67, 134, 0.7), rgba(25, 67, 134, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.recent-post-thumbnail:hover::after {
    opacity: 1;
}

.recent-post-content {
    flex: 1;
    min-width: 0;
}

.recent-post-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.recent-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-title a:hover {
    color: #194386;
}

.recent-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 11px;
    color: #666;
}

.recent-post-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.recent-post-meta i {
    font-size: 10px;
    color: #194386;
}

.recent-post-excerpt {
    font-size: 12px;
    color: #777;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.view-all-posts {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.view-all-posts .btn {
    background: linear-gradient(45deg, #194386, #2a5298);
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(25, 67, 134, 0.3);
}

.view-all-posts .btn:hover {
    background: linear-gradient(45deg, #2a5298, #194386);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(25, 67, 134, 0.4);
    color: white;
    text-decoration: none;
}

.view-all-posts .btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.view-all-posts .btn:hover i {
    transform: translateX(3px);
}

.no-recent-posts {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.no-recent-posts i {
    color: #194386;
    margin-right: 8px;
}

/* Mobile Responsive for Recent Posts Widget */
@media (max-width: 768px) {
    .recent-posts-widget {
        padding: 20px;
        margin-bottom: 20px;
    }

    .recent-post-item {
        gap: 12px;
    }

    .recent-post-thumbnail {
        width: 70px;
        height: 50px;
    }

    .recent-post-title {
        font-size: 13px;
    }

    .recent-post-meta {
        flex-direction: column;
        gap: 5px;
    }

    .recent-post-excerpt {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .recent-post-item {
        flex-direction: column;
        gap: 10px;
    }

    .recent-post-thumbnail {
        width: 100%;
        height: 120px;
    }

    .recent-post-meta {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ===== COOKIE CONSENT STYLES ===== */
/* Force override any existing styles */
.js-cookie-consent {
    background: linear-gradient(135deg, #667eea 0%, #194386 100%) !important;
    color: white !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    padding: 0 !important;
}

.cookie-consent {
    font-family: 'Nunito', sans-serif !important;
    animation: slideUp 0.5s ease-out !important;
}

/* Override any existing cookie consent styles */
.js-cookie-consent * {
    box-sizing: border-box !important;
}

.js-cookie-consent-agree:active {
    transform: translateY(1px) !important;
}

.js-cookie-consent-agree:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.5) !important;
}

/* Mobile Responsive for Cookie Consent */
@media (max-width: 768px) {
    .js-cookie-consent {
        padding: 0 10px !important;
    }

    .cookie-consent div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .cookie-consent div[style*="flex: 1"] {
        min-width: 100% !important;
        text-align: center !important;
    }

    .cookie-consent p {
        margin-bottom: 0 !important;
        text-align: center !important;
        font-size: 13px !important;
    }

    .cookie-consent div[style*="flex-shrink: 0"] {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .js-cookie-consent-agree {
        padding: 10px 25px !important;
        font-size: 14px !important;
        width: auto !important;
        min-width: 120px !important;
    }
}

/* Backdrop blur effect for modern browsers */
@supports (backdrop-filter: blur(10px)) {
    .cookie-consent::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        backdrop-filter: blur(10px);
        z-index: -1;
    }
}

/* ===== LOADING SCREEN STYLES (Google Style Dots) ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-overlay.hide {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Google-style colorful dots */
.google-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    position: relative;
}

.google-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
    animation: googleBounce 1.4s ease-in-out infinite both;
    transition: all 0.3s ease;
}

/* Loading state - dots are animated */
.loading .google-dot:nth-child(1) {
    background-color: #4285f4; /* Google Blue */
    animation-delay: -0.32s;
}

.loading .google-dot:nth-child(2) {
    background-color: #ea4335; /* Google Red */
    animation-delay: -0.16s;
}

.loading .google-dot:nth-child(3) {
    background-color: #fbbc04; /* Google Yellow */
    animation-delay: 0s;
}

.loading .google-dot:nth-child(4) {
    background-color: #34a853; /* Google Green */
    animation-delay: 0.16s;
}

/* Completed state - dots stop and form a checkmark or success state */
.loading-completed .google-dot {
    animation: dotComplete 0.6s ease-out forwards;
    transform-origin: center;
}

.loading-completed .google-dot:nth-child(1) {
    background-color: #34a853; /* All green for success */
    animation-delay: 0s;
}

.loading-completed .google-dot:nth-child(2) {
    background-color: #34a853;
    animation-delay: 0.1s;
}

.loading-completed .google-dot:nth-child(3) {
    background-color: #34a853;
    animation-delay: 0.2s;
}

.loading-completed .google-dot:nth-child(4) {
    background-color: #34a853;
    animation-delay: 0.3s;
}

/* Moving dots effect */
.google-dots.moving {
    animation: dotsMove 2s ease-in-out infinite;
}

.google-dots.moving .google-dot {
    animation: googleBounceMove 1.2s ease-in-out infinite both, dotFloat 3s ease-in-out infinite;
}

.google-dots.moving .google-dot:nth-child(1) {
    animation-delay: -0.3s, 0s;
}

.google-dots.moving .google-dot:nth-child(2) {
    animation-delay: -0.15s, 0.5s;
}

.google-dots.moving .google-dot:nth-child(3) {
    animation-delay: 0s, 1s;
}

.google-dots.moving .google-dot:nth-child(4) {
    animation-delay: 0.15s, 1.5s;
}

/* Optional: Logo or brand name */
.loading-brand {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #5f6368;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.loading-brand .rcs {
    color: #4285f4;
    font-weight: 500;
}

/* Loading text */
.loading-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #5f6368;
    font-weight: 400;
    margin-top: 20px;
    opacity: 0.8;
}

/* Hide page content while loading */
body.loading {
    overflow: hidden;
}

/* Mobile responsive for loading screen */
@media (max-width: 768px) {
    .loading-brand {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .google-dots {
        gap: 5px;
    }

    .google-dot {
        width: 10px;
        height: 10px;
    }

    .loading-text {
        font-size: 13px;
        margin-top: 15px;
    }

    .loading-content {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .loading-brand {
        font-size: 18px;
    }

    .google-dot {
        width: 8px;
        height: 8px;
    }

    .loading-text {
        font-size: 12px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Google Dots Bounce Animation */
@keyframes googleBounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.0);
        opacity: 1;
    }
}

/* Enhanced bouncing with movement */
@keyframes googleBounceMove {
    0%, 80%, 100% {
        transform: scale(0.6) translateY(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2) translateY(-8px);
        opacity: 1;
    }
}

/* Floating effect for moving dots */
@keyframes dotFloat {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(3px) rotate(90deg);
    }
    50% {
        transform: translateX(0) rotate(180deg);
    }
    75% {
        transform: translateX(-3px) rotate(270deg);
    }
}

/* Container movement */
@keyframes dotsMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* Completion animation */
@keyframes dotComplete {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(52, 168, 83, 0.4);
    }
}

/* Success pulse */
@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== ULTRA MODERN TESTIMONIAL SECTION STYLES ===== */
.testimonial-section {
    padding: 60px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1;
}

.testimonial-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    animation: shimmer 8s ease-in-out infinite;
    z-index: 1;
}

.testimonial-section .container {
    position: relative;
    z-index: 2;
}

/* Modern Section Header */
.testimonial-header {
    margin-bottom: -60px;
    text-align: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #144b99;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: 0.5px;
}

.section-badge i {
    font-size: 14px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.testimonial-main-title {
    font-size: 56px;
    font-weight: 800;
    color: #000;
    margin-bottom: 24px;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.testimonial-subtitle {
    font-size: 20px;
    color: rgba(36, 35, 35, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    font-weight: 400;
}

/* Ultra Modern Owl Carousel Integration */
.testimonial-section .owl-carousel {
    position: relative;
    margin-top: 60px;
}

.testimonial-section .owl-stage-outer {
    padding: 40px 0;
    overflow: visible;
}

.testimonial-section .testimonial-slide {
    margin: 0 15px;
    padding: 0;
    border: none;
    background: none;
    quotes: none;
    height: auto;
}

.testimonial-section .testimonial-slide:before,
.testimonial-section .testimonial-slide:after {
    content: none;
}

.testimonial-card-inner {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 50px 40px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.testimonial-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe);
    background-size: 300% 100%;
    animation: gradientShift 6s ease infinite;
}

.testimonial-card-inner:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Modern Quote Icon */
.quote-icon {
    position: absolute;
    top: -25px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 15px 35px rgba(102, 126, 234, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: quotePulse 4s ease-in-out infinite;
}

.quote-icon i {
    color: white;
    font-size: 22px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Modern Star Rating */
.star-rating {
    display: flex;
    gap: 6px;
    margin-bottom: 35px;
    justify-content: center;
    animation: slideInLeft 0.8s ease-out 0.6s both;
}

.star-rating i {
    color: #ffd700;
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
    animation: starGlow 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.2s);
    transition: transform 0.3s ease;
}

.star-rating:hover i {
    transform: scale(1.2) rotate(5deg);
}

.star-rating i:nth-child(1) { --i: 1; }
.star-rating i:nth-child(2) { --i: 2; }
.star-rating i:nth-child(3) { --i: 3; }
.star-rating i:nth-child(4) { --i: 4; }
.star-rating i:nth-child(5) { --i: 5; }

/* Modern Testimonial Content */
.testimonial-content {
    margin-bottom: 45px;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    animation: slideInUp 0.8s ease-out 0.8s both;
}

.testimonial-text {
    font-size: 22px;
    line-height: 1.7;
    color: #2c3e50;
    font-style: normal;
    margin: 0;
    position: relative;
    padding: 0;
    font-weight: 500;
    text-align: center;
}

.testimonial-text::before {
    content: '❝';
    font-size: 48px;
    color: #667eea;
    position: absolute;
    top: -20px;
    left: -25px;
    font-family: serif;
    line-height: 1;
    opacity: 0.6;
}

.testimonial-text::after {
    content: '❞';
    font-size: 48px;
    color: #667eea;
    position: absolute;
    bottom: -30px;
    right: -25px;
    font-family: serif;
    line-height: 1;
    opacity: 0.6;
}

/* Modern Client Info */
.client-info {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
    animation: slideInRight 0.8s ease-out 1s both;
}

.client-avatar {
    position: relative;
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.client-avatar:hover img {
    transform: scale(1.1) rotate(3deg);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 8px 20px rgba(0, 0, 0, 0.15);
}

.avatar-ring {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 3px solid transparent;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: ringRotate 4s linear infinite;
}

.client-details {
    text-align: left;
}

.client-name {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.client-position {
    font-size: 16px;
    color: #7f8c8d;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Owl Carousel Navigation Styling */
.testimonial-section .owl-nav {
    text-align: center;
    margin-top: 40px;
}

.testimonial-section .owl-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(25, 67, 134, 0.2);
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #194386;
    margin: 0 8px;
    font-size: 16px;
    outline: none;
}

.testimonial-section .owl-nav button:hover,
.testimonial-section .owl-nav button:focus {
    background: #194386;
    color: white;
    border-color: #194386;
    transform: scale(1.1);
    outline: none;
}

.testimonial-section .owl-nav button i {
    font-size: 16px;
}

.testimonial-section .owl-nav button.owl-prev {
    margin-right: 15px;
}

.testimonial-section .owl-nav button.owl-next {
    margin-left: 15px;
}

/* Owl Carousel Dots Styling */
.testimonial-section .owl-dots {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.testimonial-section .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(25, 67, 134, 0.3) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
    display: inline-block;
}

.testimonial-section .owl-dot:hover,
.testimonial-section .owl-dot.active {
    background: #194386 !important;
    transform: scale(1.2);
}

.testimonial-section .owl-dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid rgba(25, 67, 134, 0.3);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

/* Combined Navigation Layout */
.testimonial-section .owl-carousel .owl-nav,
.testimonial-section .owl-carousel .owl-dots {
    position: relative;
    z-index: 10;
}

/* Hide default Owl nav text */
.testimonial-section .owl-nav button span {
    display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .testimonial-section {
        padding: 40px 0;
    }

    .testimonial-main-title {
        font-size: 36px;
    }

    .testimonial-card-inner {
        padding: 30px;
    }

    .testimonial-text {
        font-size: 18px;
    }

    .client-info {
        flex-direction: column;
        text-align: center;
    }

    .client-details {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 30px 0;
    }

    .testimonial-header {
        margin-bottom: -10px;
    }

    .testimonial-main-title {
        font-size: 28px;
    }

    .testimonial-subtitle {
        font-size: 16px;
    }

    .testimonial-card-inner {
        padding: 25px;
    }

    .testimonial-text {
        font-size: 16px;
        padding: 0 10px;
    }

    .client-avatar {
        width: 60px;
        height: 60px;
    }

    .client-name {
        font-size: 18px;
    }

    .client-position {
        font-size: 14px;
    }

    .testimonial-navigation {
        flex-direction: column;
        gap: 20px;
    }

    .star-rating {
        margin-bottom: 20px;
    }

    .star-rating i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 0 10px;
    }

    .testimonial-card-inner {
        padding: 20px;
    }

    .testimonial-main-title {
        font-size: 24px;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .quote-icon {
        width: 40px;
        height: 40px;
        right: 20px;
    }

    .quote-icon i {
        font-size: 14px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes starGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes quotePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 15px 35px rgba(102, 126, 234, 0.4),
            0 5px 15px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow:
            0 20px 45px rgba(102, 126, 234, 0.6),
            0 8px 20px rgba(0, 0, 0, 0.15);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

