/* Customers Section */
.customers {
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.customers .section-title {
    margin-bottom: 3rem;
    text-align: center;
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 1rem;
    /* Added horizontal padding for responsiveness */
}

.customer-card {
    position: relative;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    /* Removed default background to allow image to show */
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    /* Ensure pseudo-element doesn't spill out */
    z-index: 1;
    /* For stacking context */
}

/* Background Image Pseudo-element */
.customer-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(4px) brightness(0.6);
    /* 10% blur approx 4px, dimmed to 60% brightness */
    z-index: -1;
    /* Place behind content */
    transition: transform 0.3s ease;
}

.customer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.customer-card:hover::before {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

/* Specific Background Images */
#customer-dareen::before {
    background-image: url('https://images.unsplash.com/photo-1607779097040-26e80aa78e66?q=80&w=880');
}

#customer-justanumber::before {
    background-image: url('https://images.unsplash.com/photo-1569360531163-a61fa3da86ee?q=80&w=736');
}

#customer-tatis::before {
    background-image: url('https://images.unsplash.com/photo-1426869884541-df7117556757?q=80&w=2070');
}

.customer-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 1rem;
}

.customer-rating {
    color: #ffd700;
    font-size: 1rem;
    letter-spacing: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}

.customer-name {
    font-family: "Poppins", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    /* Ensure white text */
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Improve readability */
}

.customer-comment {
    font-size: 1rem;
    line-height: 1.6;
    color: #f0f0f0;
    /* Brighter text for contrast */
    margin-bottom: 2rem;
    font-style: italic;
    flex-grow: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.customer-link-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    backdrop-filter: blur(5px);
    /* Add glass effect to button itself */
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.customer-link-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cta-section {
    position: relative;
    margin-top: 5rem;
    text-align: center;
    padding: 3rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap; /* Ensure responsiveness on small screens */
}

.cta-section h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.cta-section p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .customers {
        padding-top: 6rem;
    }

    .customers-grid {
        grid-template-columns: 1fr;
        padding: 0;
        /* Align with container on mobile */
    }
}