/* Modern Services Page Styles */
.modern-filter-wrapper {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border: 1px solid #eef2f7;
}

.filter-control {
    position: relative;
}

.btn-filter {
    background: white;
    border: 2px solid #e3e8ef;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    color: #4a5568;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-filter:hover {
    border-color: #4299e1;
    background: #f7fafc;
    transform: translateY(-2px);
}

.btn-filter:focus {
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.btn-filter .fa-filter,
.btn-filter .fa-dollar-sign {
    color: #4299e1;
    font-size: 1rem;
}

.filter-control .dropdown-menu {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.filter-control .dropdown-item {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.filter-control .dropdown-item:hover {
    background: #4299e1;
    color: white;
    transform: translateX(5px);
}

.filter-control .dropdown-item i {
    width: 20px;
    text-align: center;
}

.search-box-wrapper {
    min-width: 250px;
}

.search-box {
    position: relative;
    background: white;
    border: 2px solid #e3e8ef;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.search-box:hover,
.search-box:focus-within {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.search-icon {
    color: #a0aec0;
    font-size: 1rem;
}

.search-input {
    border: none;
    outline: none;
    flex: 1;
    font-weight: 500;
    color: #4a5568;
    background: transparent;
}

.search-input::placeholder {
    color: #a0aec0;
}

.search-btn {
    background: #4299e1;
    border: none;
    border-radius: 8px;
    color: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #3182ce;
    transform: scale(1.05);
}

/* Category Header */
.category-section-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.category-section-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
}

.category-header-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-icon-wrapper,
.category-emoji-wrapper,
.category-image-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon-wrapper i {
    font-size: 1.75rem;
    color: white;
}

.category-emoji-wrapper span {
    font-size: 2rem;
}

.category-image-wrapper img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.category-info {
    flex: 1;
}

.category-title {
    color: white;
    font-weight: 700;
    margin: 0;
    font-size: 1.5rem;
}

.category-count {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Services Grid */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-card-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.service-card-wrapper.hidden {
    opacity: 0;
    transform: translateY(10px);
    display: none;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f7;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px 16px 0 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e0;
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-id-favorite {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-id {
    background: #e6fffa;
    color: #234e52;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.favorite-btn {
    background: none;
    border: none;
    color: #cbd5e0;
    cursor: pointer;
    padding: 0.25rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.favorite-btn:hover {
    color: #f6ad55;
    transform: scale(1.2);
}

.favorite-btn i.active {
    color: #f6ad55;
}

.service-speed {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: #c6f6d5;
    color: #22543d;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.service-speed i {
    font-size: 0.75rem;
}

.service-name {
    color: #2d3748;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 0 1.5rem 0;
    line-height: 1.4;
}

.service-pricing {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-item,
.quantity-item {
    flex: 1;
    background: #f7fafc;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

.price-label,
.quantity-label {
    display: block;
    font-size: 0.75rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.price-value,
.quantity-value {
    display: block;
    color: #2d3748;
    font-weight: 700;
    font-size: 1.25rem;
}

.price-with-tooltip {
    position: relative;
    cursor: help;
    border-bottom: 1px dashed #cbd5e0;
}

.service-description {
    margin-bottom: 1.5rem;
}

.description-toggle {
    width: 100%;
    background: #edf2f7;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.description-toggle:hover {
    background: #e2e8f0;
}

.description-toggle i:first-child {
    color: #4299e1;
    margin-right: 0.5rem;
}

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

.description-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.description-content {
    margin-top: 1rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.description-content p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    font-size: 0.9375rem;
}

.service-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.btn-order-now,
.btn-view-details {
    flex: 1;
    padding: 0.875rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-order-now {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-order-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-view-details {
    background: white;
    color: #4a5568;
    border-color: #e2e8f0;
}

.btn-view-details:hover {
    background: #f7fafc;
    border-color: #4299e1;
    color: #4299e1;
    transform: translateY(-2px);
}

/* Service Modal */
.service-modal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px 16px 0 0;
    padding: 1.5rem;
    border: none;
}

.service-modal .modal-title {
    font-weight: 700;
    font-size: 1.25rem;
}

.service-modal .btn-close {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 1;
    padding: 0.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3E%3C/svg%3E");
}

.service-modal .modal-body {
    padding: 2rem;
}

.modal-service-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.detail-row:hover {
    background: #edf2f7;
}

.detail-row.full-width {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
}

.detail-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9375rem;
}

.detail-value {
    font-weight: 700;
    color: #2d3748;
    text-align: right;
}

.detail-text {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    font-size: 0.9375rem;
}

.service-modal .modal-footer {
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem;
    gap: 0.75rem;
}

.btn-modal-close,
.btn-modal-order {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-modal-close {
    background: #edf2f7;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-modal-close:hover {
    background: #e2e8f0;
}

.btn-modal-order {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.btn-modal-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

/* No Services Message */
.no-services-message {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px dashed #e2e8f0;
}

.no-services-message i {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

.no-services-message h3 {
    color: #4a5568;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.no-services-message p {
    color: #a0aec0;
    font-size: 1.125rem;
}

/* Services Info Section */
.services-info-section {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f7;
}

.services-info-content {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1.0625rem;
}

.services-info-content h1,
.services-info-content h2,
.services-info-content h3,
.services-info-content h4,
.services-info-content h5,
.services-info-content h6 {
    color: #2d3748;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.services-info-content p {
    margin-bottom: 1.5rem;
}

.services-info-content ul,
.services-info-content ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.services-info-content li {
    margin-bottom: 0.5rem;
}

/* RTL Support */
.rtl-content {
    direction: rtl;
    text-align: right;
}

.rtl-content ul,
.rtl-content ol {
    padding-right: 2rem;
    padding-left: 0;
}

.rtl-content .service-card-header,
.rtl-content .service-id-favorite,
.rtl-content .service-pricing,
.rtl-content .service-actions,
.rtl-content .detail-row,
.rtl-content .modal-footer {
    flex-direction: row-reverse;
}

.rtl-content .category-header-content,
.rtl-content .description-toggle {
    flex-direction: row-reverse;
}

.rtl-content .service-id-favorite {
    gap: 0.5rem;
}

.rtl-content .search-box {
    flex-direction: row-reverse;
}

.rtl-content .btn-filter,
.rtl-content .search-btn {
    flex-direction: row-reverse;
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .modern-filter-wrapper .d-flex {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-control {
        width: 100%;
    }
    
    .search-box-wrapper {
        width: 100%;
    }
    
    .services-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-section-header {
        padding: 1rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .category-header-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .service-modal .modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .service-card {
        padding: 1.25rem;
    }
    
    .service-pricing {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .services-info-section {
        padding: 1.5rem;
    }
}

/* Animation for favorite button */
@keyframes favoritePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.favorite-btn:active i {
    animation: favoritePop 0.3s ease;
}

/* Loading animation for cards */
@keyframes cardLoading {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.service-card.loading {
    animation: cardLoading 1.5s ease infinite;
}




/* Testimonials Section Styles */
.testimonials-section {
    background: #f8fafc;
    padding: 80px 0;
    margin: 50px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: #718096;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-card.featured {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.rating {
    color: #fbbf24;
    font-size: 18px;
}

.platform-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.instagram-badge {
    background: rgba(225, 48, 108, 0.1);
    color: #E1306C;
}

.tiktok-badge {
    background: rgba(0, 242, 234, 0.1);
    color: #000;
}

.youtube-badge {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
}

.facebook-badge {
    background: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}

.twitter-badge {
    background: rgba(29, 161, 242, 0.1);
    color: #1DA1F2;
}

.featured-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.testimonial-body {
    margin-bottom: 25px;
}

.testimonial-text {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.customer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.customer-details h4 {
    margin: 0 0 5px 0;
    color: #2d3748;
    font-size: 16px;
    font-weight: 700;
}

.customer-role {
    margin: 0;
    color: #718096;
    font-size: 14px;
    font-weight: 500;
}

.service-info .service-badge {
    background: #e6fffa;
    color: #234e52;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Responsive Design for Testimonials */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 50px 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .testimonial-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Animation for Testimonials */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }