/* Component: Cards - Mobile First */

/* Service Card - Base styles */
.service-card {
    background: rgb(255 255 255 / 95%);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

/* Tablet and up */
@media (min-width: 768px) {
    .service-card {
        padding: 2rem;
    }
}

/* Desktop and up */
@media (min-width: 992px) {
    .service-card {
        padding: 2.5rem;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
    }
}

/* Project Card - Base styles */
.project-card {
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card:nth-child(2n) {
    transition-delay: 0.2s;
}

.project-card .card {
    width: 100%;
    background: #fff;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgb(0 0 0 / 5%);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card .card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card .feature-list {
    margin-top: auto;
    padding-left: 0;
    list-style: none;
}

.project-card .feature-list h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.project-card .feature-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    color: var(--text-color);
}

.project-card .feature-list li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.project-card .feature-list li:last-child {
    margin-bottom: 0;
}

.project-card .card-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.project-card .card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.project-card .btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-card .btn-link:hover {
    color: var(--primary-dark);
}

/* Tablet and up */
@media (min-width: 768px) {
    .project-card .card {
        border-radius: 1rem;
        box-shadow: 0 2px 12px rgb(0 0 0 / 10%);
    }
    
    .project-card .card-body {
        padding: 2rem;
    }
}

/* Desktop and up */
@media (min-width: 992px) {
    .project-card .card {
        box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
    }
    
    .project-card .card:hover {
        transform: translateY(-5px);
        border-color: rgb(0 0 0 / 15%);
        box-shadow: 0 8px 25px rgb(0 0 0 / 10%);
    }
    
    .project-card .card-body {
        padding: 2.5rem;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .project-card .card {
        border-radius: 1rem;
        box-shadow: 0 2px 12px rgb(0 0 0 / 10%);
    }
    
    .project-card .card-body {
        padding: 2rem;
    }
}

/* Desktop and up */
@media (min-width: 992px) {
    .project-card .card {
        box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
    }
    
    .project-card .card:hover {
        transform: translateY(-5px);
        border-color: rgb(0 0 0 / 15%);
        box-shadow: 0 8px 25px rgb(0 0 0 / 10%);
    }
    
    .project-card .card-body {
        padding: 2.5rem;
    }
}

/* Testimonial Card - Base styles */
.testimonial-card,
.testimonials-swiper .card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
    margin: 1rem 0;
    height: 100%;
}

.testimonials-swiper .card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
}

.testimonials-swiper .company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    margin-bottom: 1.5rem;
}

.testimonials-swiper .company-logo img {
    max-height: 60px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.testimonials-swiper .card-text {
    flex: 1;
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonials-swiper .client-info {
    margin-top: auto;
}

.testimonials-swiper .client-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.testimonials-swiper .client-role {
    font-size: 0.875rem;
    color: #666;
}

/* Chat Interface */

.chat-interface {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 350px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgb(0 0 0 / 10%%);
}
