/* ======= MODERN TESTIMONIAL CARDS ======= */
.testimonial-card.modern-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 1px solid rgba(106, 17, 203, 0.08);
    border-radius: 24px;
    padding: 35px 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.testimonial-card.modern-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(106, 17, 203, 0.12);
    border-color: rgba(106, 17, 203, 0.15);
}

.location-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.location-badge i {
    margin-right: 4px;
    font-size: 0.7rem;
}

.testimonial-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(106, 17, 203, 0.1);
}

.client-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #222;
}

.client-role {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* ======= AI & AUTOMATION SECTION STYLES ======= */
.ai-tab {
    position: relative;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.ai-tab:hover,
.ai-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.ai-tab i {
    margin-right: 6px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.ai-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 100%);
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    pointer-events: none;
}

.ai-card:hover::before {
    opacity: 1;
}

.ai-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.2);
}

.ai-glow {
    position: relative;
}

.ai-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
    z-index: -1;
}

.ai-card:hover .ai-glow::after {
    opacity: 1;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
}

.ai-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.btn-ai-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    padding: 16px 40px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-ai-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-ai-gradient:hover::before {
    left: 100%;
}

.btn-ai-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    color: #fff;
}

.ai-headline {
    animation: fadeInUp 0.8s ease-out;
}

.ai-subtext {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======= PREMIUM CONTACT SECTION ======= */
.premium-contact {
    position: relative;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

.contact-shape-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.quick-contact-channels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.contact-channel-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contact-channel-card:hover::before {
    transform: scaleX(1);
}

.contact-channel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.channel-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease;
}

.email-icon {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
}

.whatsapp-icon {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    color: #25d366;
}

.support-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    color: #ef4444;
}

.contact-channel-card:hover .channel-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-channel-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

.channel-link {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    text-decoration: none;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.channel-link:hover {
    color: #764ba2;
    transform: translateX(3px);
}

.channel-subtext {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.premium-contact-form-wrapper {
    background: #fff;
    border-radius: 24px;
    padding: 45px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(102, 126, 234, 0.08);
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px;
}

.premium-form .form-label {
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.premium-form .form-control,
.premium-form .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.premium-form .form-control:focus,
.premium-form .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: #fff;
    outline: none;
}

.premium-form textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.btn-premium-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    padding: 16px 45px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.btn-premium-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    color: #fff;
}

.contact-info-premium {
    position: sticky;
    top: 100px;
}

.info-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 25px;
    margin-bottom: 20px;
    border: 2px solid rgba(102, 126, 234, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.info-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}

.info-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.social-links-premium {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
}

.social-links-premium h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
}

.social-icons-row {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icon-premium {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.social-icon-premium:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Office Header Info styling */
.office-header-info {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.office-header-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.office-header-item i {
    font-size: 1.5rem;
}

.office-header-item p {
    margin: 0;
    color: #444;
    font-size: 1.1rem;
}

/* ======= COMPACT SERVICE CARDS (ALL SERVICES) ======= */
.service-card-compact {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    border: 2px solid rgba(102, 126, 234, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card-compact:hover::before {
    transform: scaleX(1);
}

.service-card-compact:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.service-card-compact.featured-compact {
    border-color: rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 100%);
}

.compact-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.service-icon-compact {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #667eea;
    transition: all 0.3s ease;
}

.service-card-compact:hover .service-icon-compact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.service-card-compact h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-card-compact p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-cta-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: auto;
}

.btn-service-whatsapp,
.btn-service-email {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid;
}

.btn-service-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #22c55e 100%);
    color: #fff;
    border-color: #25d366;
}

.btn-service-whatsapp:hover {
    background: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.btn-service-email {
    background: #fff;
    color: #667eea;
    border-color: rgba(102, 126, 234, 0.3);
}

.btn-service-email:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .quick-contact-channels {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info-premium {
        position: static;
        margin-top: 40px;
    }
    
    .premium-contact-form-wrapper {
        padding: 35px 30px;
    }
}

@media (max-width: 768px) {
    .ai-headline {
        font-size: 1.8rem !important;
    }
    
    .ai-subtext {
        font-size: 1rem !important;
    }
    
    .location-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
    
    .testimonial-card.modern-card {
        padding: 28px 22px;
    }
    
    .contact-channel-card {
        padding: 30px 20px;
    }
    
    .channel-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .premium-contact-form-wrapper {
        padding: 30px 25px;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .btn-premium-submit {
        padding: 14px 35px;
    }
    
    .service-card-compact {
        padding: 25px 15px;
    }
    
    .service-card-compact h4 {
        font-size: 1rem;
    }
    
    .service-card-compact p {
        font-size: 0.85rem;
    }
    
    .btn-service-whatsapp,
    .btn-service-email {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .premium-form input,
    .premium-form select,
    .premium-form textarea {
        font-size: 0.95rem;
        padding: 12px 16px;
    }
    
    .office-header-info {
        padding: 20px;
    }
    
    .office-header-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .service-icon-compact {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
    
    .service-card-compact {
        padding: 20px 15px;
    }
    
    .compact-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
    }
    
    .testimonial-rating i {
        font-size: 0.85rem;
    }
    
    .client-name {
        font-size: 1rem;
    }
    
    .client-role {
        font-size: 0.8rem;
    }
    
    .office-header-item p {
        font-size: 0.95rem;
    }
    
    .footer-social-icons {
        gap: 2rem !important;
    }
    
    .social-icon-premium {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .testimonial-card.modern-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .info-icon-wrapper {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .info-card h5 {
        font-size: 1rem;
    }
    
    .info-card p {
        font-size: 0.9rem;
    }
    
    .btn-premium-submit {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .form-title {
        font-size: 1.3rem;
    }
}
