/* ================================================
   أنماط إضافية - Additional Styles
   ================================================ */

/* =============== Hero Slider =============== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(15, 23, 42, 0.75) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--spacing-lg);
    max-width: 900px;
    animation: slideIn 0.8s ease-out;
}

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

.slide-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.slide-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.slide-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.slide-buttons .btn {
    min-width: 160px;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.1rem;
    font-weight: 600;
}

.slide-buttons .btn-outline {
    border-color: white;
    color: white;
}

.slide-buttons .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    right: 30px;
}

.next-btn {
    left: 30px;
}

[dir="ltr"] .prev-btn {
    left: 30px;
    right: auto;
}

[dir="ltr"] .next-btn {
    right: 30px;
    left: auto;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.dot.active {
    background: var(--primary-color);
    border-color: white;
    transform: scale(1.2);
}

/* Responsive Slider */
@media (max-width: 768px) {
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .prev-btn {
        right: 15px;
    }
    
    .next-btn {
        left: 15px;
    }
    
    .slider-dots {
        bottom: 25px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .slide-buttons .btn {
        min-width: 140px;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
    }
}

/* =============== Loading Screen =============== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
}

.loader-content {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--spacing-md);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =============== Scroll to Top Button (Legacy - kept for compatibility) =============== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9997;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

/* =============== Error Messages =============== */
.error-message {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-control.error {
    border-color: #dc3545;
}

/* =============== Notifications =============== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--primary-color);
    z-index: 99999;
    opacity: 0;
    transform: translateX(400px);
    transition: all var(--transition-base);
    max-width: 350px;
}

[dir="rtl"] .notification {
    right: auto;
    left: 20px;
    border-left: none;
    border-right: 4px solid var(--primary-color);
    transform: translateX(-400px);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    border-left-color: #28a745;
}

[dir="rtl"] .notification-success {
    border-right-color: #28a745;
}

.notification-error {
    border-left-color: #dc3545;
}

[dir="rtl"] .notification-error {
    border-right-color: #dc3545;
}

.notification-warning {
    border-left-color: #ffc107;
}

[dir="rtl"] .notification-warning {
    border-right-color: #ffc107;
}

/* =============== Select Dropdown =============== */
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    padding-left: 2.5rem;
    cursor: pointer;
}

[dir="rtl"] select.form-control {
    background-position: right 1rem center;
    padding-right: 2.5rem;
    padding-left: 1.25rem;
}

/* =============== Image Overlays =============== */
.img-overlay-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.img-overlay-container img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-slow);
}

.img-overlay-container:hover img {
    transform: scale(1.1);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
}

.img-overlay-container:hover .img-overlay {
    opacity: 1;
}

/* =============== Breadcrumb =============== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) 0;
    font-size: 0.875rem;
}

.breadcrumb-item {
    color: var(--text-secondary);
}

.breadcrumb-item a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

/* =============== Page Header =============== */
.page-header {
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    text-align: center;
    background: var(--gradient-primary);
    color: var(--text-inverse);
    margin-bottom: var(--spacing-2xl);
}

.page-header h1 {
    color: var(--text-inverse);
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

/* =============== Pricing Cards =============== */
.pricing-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--text-inverse);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: var(--spacing-md) 0;
}

.pricing-features {
    list-style: none;
    margin: var(--spacing-lg) 0;
    text-align: right;
}

[dir="ltr"] .pricing-features {
    text-align: left;
}

.pricing-features li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary-color);
    margin-left: var(--spacing-xs);
}

[dir="ltr"] .pricing-features i {
    margin-left: 0;
    margin-right: var(--spacing-xs);
}

/* =============== Blog Post Card =============== */
.blog-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-content {
    padding: var(--spacing-lg);
}

.blog-card-meta {
    display: flex;
    gap: var(--spacing-md);
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
}

.blog-card-meta i {
    margin-left: 0.25rem;
}

[dir="ltr"] .blog-card-meta i {
    margin-left: 0;
    margin-right: 0.25rem;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.blog-card-title a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

/* =============== FAQ Accordion =============== */
.faq-item {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    border: none;
    text-align: right;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-base);
}

[dir="ltr"] .faq-question {
    text-align: left;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform var(--transition-base);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
    padding: 0 var(--spacing-lg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-lg) var(--spacing-md);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =============== Responsive Adjustments =============== */
@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    [dir="rtl"] .scroll-to-top {
        left: 20px;
    }

    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* =============== Services Page =============== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.service-card-detailed {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.service-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.service-content h3 {
    margin-bottom: var(--spacing-sm);
}

.service-content .service-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.service-price {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.price-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.price-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* =============== Feature Cards =============== */
.feature-card {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-inverse);
}

.feature-card h4 {
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-secondary);
}

/* =============== CTA Section =============== */
.cta-section {
    background: var(--gradient-primary);
    padding: var(--spacing-3xl) 0;
}

.cta-content {
    text-align: center;
    color: var(--text-inverse);
}

.cta-content h2 {
    color: var(--text-inverse);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    font-size: 1.125rem;
}

/* =============== Pricing Grid =============== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    position: relative;
}

.pricing-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-color);
}

.pricing-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.pricing-price .currency {
    font-size: 1rem;
    vertical-align: super;
}

.pricing-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-price .period {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.pricing-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.btn-block {
    display: block;
    width: 100%;
}

/* =============== FAQ Container =============== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* =============== Blog Grid =============== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.blog-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.blog-category {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--primary-color);
    color: var(--text-inverse);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

[dir="ltr"] .blog-category {
    right: auto;
    left: var(--spacing-sm);
}

.blog-content {
    padding: var(--spacing-lg);
}

.blog-meta {
    display: flex;
    gap: var(--spacing-md);
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
}

.blog-meta i {
    margin-left: 0.25rem;
}

[dir="ltr"] .blog-meta i {
    margin-left: 0;
    margin-right: 0.25rem;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.blog-title a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

/* =============== Empty State =============== */
.empty-state {
    text-align: center;
    padding: var(--spacing-3xl);
    color: var(--text-muted);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

/* =============== Newsletter Box =============== */
.newsletter-box {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.newsletter-content h3 {
    margin-bottom: var(--spacing-xs);
}

.newsletter-content p {
    color: var(--text-secondary);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    flex: 1;
    max-width: 400px;
}

.newsletter-form input {
    flex: 1;
}

/* =============== Team Cards =============== */
.team-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-base);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    height: 250px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.team-content {
    padding: var(--spacing-lg);
}

.team-content h4 {
    margin-bottom: var(--spacing-xs);
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.team-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =============== Stats Section =============== */
.stats-section {
    background: var(--gradient-secondary);
    padding: var(--spacing-3xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    color: var(--text-inverse);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* =============== Testimonials Section =============== */
.testimonials-section {
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.testimonial-card {
    background: var(--bg-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: var(--spacing-md);
}

.testimonial-stars i {
    margin-left: 2px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.testimonial-author p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* =============== FAQ Section Enhancement =============== */
.faq-item {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* =============== CTA Banner =============== */
.cta-banner {
    background: var(--gradient-primary);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    color: white;
    margin: var(--spacing-2xl) 0;
}

.cta-banner h2 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.cta-banner .btn {
    background: white;
    color: var(--primary-color);
}

.cta-banner .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card-detailed {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-box {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
        max-width: none;
        flex-direction: column;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* =============== Parallax Effect =============== */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    transform: translateZ(0);
    will-change: transform;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 0;
}

.parallax-content {
    position: relative;
    z-index: 1;
}

/* =============== Animated Icons =============== */
.animated-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Bounce Animation */
.icon-bounce:hover {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-8px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-4px); }
}

/* Pulse Animation */
.icon-pulse:hover {
    animation: iconPulse 0.6s ease;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Rotate Animation */
.icon-rotate:hover {
    animation: iconRotate 0.6s ease;
}

@keyframes iconRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Shake Animation */
.icon-shake:hover {
    animation: iconShake 0.5s ease;
}

@keyframes iconShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotate(-5deg); }
    50% { transform: translateX(5px) rotate(5deg); }
    75% { transform: translateX(-5px) rotate(-5deg); }
}

/* Float Animation */
.icon-float {
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Glow Animation */
.icon-glow:hover {
    filter: drop-shadow(0 0 8px var(--primary-color));
    color: var(--primary-color);
}

/* Flip Animation */
.icon-flip:hover {
    animation: iconFlip 0.6s ease;
}

@keyframes iconFlip {
    0% { transform: perspective(400px) rotateY(0); }
    100% { transform: perspective(400px) rotateY(360deg); }
}

/* Service Card Icon Animation */
.service-card .service-icon i,
.service-card .icon i {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon i,
.service-card:hover .icon i {
    transform: scale(1.2) rotate(10deg);
    color: var(--primary-color);
}

/* Feature Icon Animation */
.feature-icon i {
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon i {
    animation: iconBounce 0.6s ease;
    color: var(--primary-color);
}

/* Button Icon Animation */
.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(-5px);
}

[dir="ltr"] .btn:hover i {
    transform: translateX(5px);
}

/* Social Icon Animation */
.social-links a i {
    transition: all 0.3s ease;
}

.social-links a:hover i {
    transform: translateY(-3px);
}

/* Stat Icon Animation */
.stat-icon i {
    transition: all 0.4s ease;
}

.stat-item:hover .stat-icon i {
    animation: iconPulse 0.6s ease;
}

/* Contact Icon Animation */
.contact-icon i {
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon i {
    animation: iconBounce 0.6s ease;
    color: var(--primary-color);
}

/* Navigation Icon Animation */
.nav-link i {
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: rotate(15deg);
}

/* Loading Dots Animation */
.loading-dots {
    display: inline-flex;
    gap: 4px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: loadingDots 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes loadingDots {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =============== Enhanced Card Hover Effects =============== */
.card-3d {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 15px 12px rgba(0, 0, 0, 0.1);
}

.card-lift {
    transition: all 0.3s ease;
}

.card-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-glow:hover {
    box-shadow: 
        0 0 30px rgba(255, 107, 53, 0.3),
        var(--shadow-lg);
}

/* =============== Text Animations =============== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-shimmer {
    background: linear-gradient(
        90deg,
        var(--text-primary) 0%,
        var(--primary-color) 50%,
        var(--text-primary) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s linear infinite;
}

@keyframes textShimmer {
    to {
        background-position: 200% center;
    }
}

/* =============== Scroll Reveal Animations =============== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Staggered Animation for Lists */
.stagger-animate > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-animate.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-animate.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-animate.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-animate.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-animate.revealed > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-animate.revealed > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-animate.revealed > * {
    opacity: 1;
    transform: translateY(0);
}