/* Customers Page Styles */
.customers-hero {
    background: linear-gradient(135deg, #174ea9 0%, #0d2b5e 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.customers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.customers-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.customers-heading {
    font-size: 3.5em;
    margin: 0 0 20px;
    font-weight: 700;
}

.customers-subheading {
    font-size: 1.2em;
    margin: 0 0 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.scroll-indicator span {
    font-size: 0.9em;
    margin-bottom: 10px;
    opacity: 0.8;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(10px) rotate(45deg);
    }
    60% {
        transform: translateY(5px) rotate(45deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.customers-intro {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.customers-intro h2 {
    color: #174ea9;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.customers-intro p {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

.customers-showcase {
    padding: 80px 0;
    background-color: white;
}

.customers-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    gap: 10px;
}

.filter-btn {
    background: transparent;
    border: 1px solid #174ea9;
    color: #174ea9;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9em;
}

.filter-btn:hover {
    background: rgba(23, 78, 169, 0.1);
}

.filter-btn.active {
    background: #174ea9;
    color: white;
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.customer-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.customer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.customer-logo-container {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.customer-logo {
    max-width: 180px;
    max-height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.customer-card:hover .customer-logo {
    transform: scale(1.05);
}

.customer-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.customer-name {
    font-size: 1.3em;
    margin: 0 0 10px;
    color: #174ea9;
}

.customer-industry {
    display: inline-block;
    background: #e9ecef;
    color: #495057;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    margin-bottom: 15px;
    align-self: flex-start;
}

.customer-description {
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #174ea9 0%, #0d2b5e 100%);
    color: white;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.6;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4em;
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 15px;
}

.author-info h4 {
    margin: 0 0 5px;
    font-size: 1.1em;
}

.author-info p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9em;
}

.cta-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.cta-section h2 {
    color: #174ea9;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto 30px;
    color: #555;
}

.cta-button {
    display: inline-block;
    background: #174ea9;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #174ea9;
}

.cta-button:hover {
    background: white;
    color: #174ea9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .customers-heading {
        font-size: 2.5em;
    }

    .customers-filter {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 200px;
        margin-bottom: 10px;
    }

    .customers-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-container {
        grid-template-columns: 1fr;
    }
}

/* Add these styles to your existing customers.css */

/* Loading state */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.loading-state md-circular-progress {
    margin-bottom: 20px;
}

.loading-state p {
    color: #666;
    font-size: 1.1em;
}

/* Error state */
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    grid-column: 1 / -1;
}

.error-state md-icon {
    font-size: 64px;
    color: #dc3545;
    margin-bottom: 20px;
}

.error-state h3 {
    color: #333;
    margin-bottom: 10px;
}

.error-state p {
    color: #666;
    margin-bottom: 20px;
    max-width: 400px;
}

/* No customers message */
.no-customers-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    grid-column: 1 / -1;
}

.no-customers-message md-icon {
    font-size: 64px;
    color: #6c757d;
    margin-bottom: 20px;
}

.no-customers-message h3 {
    color: #333;
    margin-bottom: 10px;
}

.no-customers-message p {
    color: #666;
    max-width: 400px;
}

/* Customer logo error handling */
.customer-logo {
    transition: all 0.3s ease;
}

.customer-logo:hover {
    transform: scale(1.05);
}

/* Responsive adjustments for loading/error states */
@media (max-width: 768px) {
    .loading-state,
    .error-state,
    .no-customers-message {
        padding: 40px 20px;
    }

    .error-state md-icon,
    .no-customers-message md-icon {
        font-size: 48px;
    }
}