/* Index Specific Styles */
@import url('testimonials-section.css');

.search-container {
    background: white;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.search-container input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.9rem;
    color: #64748b;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: white;
}

@media (min-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        padding: 2rem;
        border-radius: 1.5rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }
}

@media (min-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.service-item {
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.service-icon-wrapper {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.service-icon-wrapper:hover {
    transform: translateY(-5px);
    background: #f1f5f9;
}

.service-icon-wrapper:active {
    transform: scale(0.95);
}

.service-icon-wrapper img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .service-icon-wrapper img {
        width: 60px;
        height: 60px;
    }
}

.service-label {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    display: block;
}

@media (min-width: 768px) {
    .service-label {
        font-size: 0.9rem;
    }
}

.eta-badge {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 0.6rem;
    font-weight: 700;
    color: #059669;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Banners */
.banner-card {
    min-width: 280px;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    .banner-card {
        min-width: 0;
    }
}

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

/* Horizontal List */
.horizontal-list {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem;
    background: white;
    scrollbar-width: none;
}

.horizontal-list::-webkit-scrollbar { display: none; }

@media (min-width: 992px) {
    .horizontal-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        overflow-x: visible;
        padding: 0;
        background: transparent;
    }
}

.list-item-card {
    min-width: 140px;
    text-align: left;
}

@media (min-width: 992px) {
    .list-item-card {
        min-width: 0;
        background: white;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }
}

.list-item-card img {
    width: 140px;
    height: 140px;
    border-radius: 1rem;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
    .list-item-card img {
        width: 100%;
        height: 180px;
        border-radius: 0;
        margin-bottom: 0;
    }
}

.list-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 992px) {
    .list-item-title {
        padding: 1rem 1rem 0.5rem;
    }
}

/* Logo Strip Animation */
@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-strip-container {
    overflow: hidden;
    white-space: nowrap;
    background: white;
    padding: 2rem 0;
    position: relative;
}

.logo-strip-container::before,
.logo-strip-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 2;
}

.logo-strip-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.logo-strip-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.logo-strip {
    display: inline-flex;
    gap: 4rem;
    animation: logoScroll 30s linear infinite;
}

.logo-strip:hover {
    animation-play-state: paused;
}

.brand-logo-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 900;
    font-size: 1.1rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    user-select: none;
}

.brand-logo-item i {
    color: #e2e8f0;
}

.service-areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem 0;
}

@media (min-width: 768px) {
    .service-areas-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.area-button {
    background: white;
    border: 1px solid var(--uc-purple);
    color: var(--uc-purple);
    border-radius: 0.75rem;
    padding: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.area-button:hover {
    background: var(--uc-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(103, 58, 183, 0.2);
}

.area-button:active {
    transform: scale(0.98);
}
.quick-actions-bar {
    background-color: #594bdb; /* Muted purple to match user image */
    color: white;
    padding: 1.25rem 0.5rem;
    border-radius: 1rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quick-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white !important;
    flex: 1;
    transition: all 0.2s ease;
}

.quick-action-item:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.quick-action-item i {
    stroke-width: 2;
}

.quick-action-item span {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

@media (min-width: 768px) {
    .quick-actions-bar {
        padding: 2rem 1rem;
    }
    
    .quick-action-item span {
        font-size: 1rem;
    }
}
