/* Industries We Provide Solutions Section - Premium Blue Design */
.industries-section {
    position: relative;
    background: linear-gradient(135deg, #0a0f1c 0%, #1a1f3a 25%, #2a2f5a 50%, #1a1f3a 75%, #0a0f1c 100%);
    padding: 60px 0;
    overflow: hidden;
}

/* Premium Background Effects */
.industries-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    animation: premiumPulse 10s ease-in-out infinite;
}

@keyframes premiumPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.industries-section .container {
    position: relative;
    z-index: 2;
}

/* Section Header - Premium */
.industries-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.industries-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #60a5fa;
    margin-bottom: 16px;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.industries-badge:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(59, 130, 246, 0.25));
    border-color: rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.industries-badge svg {
    width: 14px;
    height: 14px;
}

.industries-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd, #dbeafe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.industries-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 12px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.industries-description {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    color: rgba(219, 234, 254, 0.8);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Industries Grid - Premium */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

/* Industry Card - Premium */
.industry-card {
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    cursor: pointer;
    height: 320px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.industry-card:hover::before {
    transform: scaleX(1);
}

.industry-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(37, 99, 235, 0.08));
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 15px 30px rgba(37, 99, 235, 0.2),
        0 0 25px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Industry Image - Premium */
.industry-image {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.8) saturate(1.1);
}

.industry-card:hover .industry-image img {
    transform: scale(1.1);
    filter: brightness(1) saturate(1.2);
}

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.3) 0%,
        rgba(96, 165, 250, 0.2) 50%,
        transparent 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.industry-card:hover .industry-overlay {
    opacity: 0.9;
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    opacity: 0;
    backdrop-filter: blur(10px);
}

.industry-card:hover .industry-icon {
    transform: scale(1);
    opacity: 1;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.industry-icon svg {
    width: 28px;
    height: 28px;
}

/* Industry Content - Premium */
.industry-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.industry-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 8px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.industry-card:hover .industry-title {
    color: #60a5fa;
}

.industry-desc {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    color: rgba(219, 234, 254, 0.7);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Industry Features - Premium */
.industry-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.feature-tag {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.industry-card:hover .feature-tag {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

/* Industry Button - Premium */
.industry-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.industry-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.industry-btn:hover::before {
    left: 100%;
}

.industry-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.industry-btn svg {
    transition: transform 0.3s ease;
    width: 12px;
    height: 12px;
}

.industry-btn:hover svg {
    transform: translateX(2px);
}

/* Call to Action - Premium */
.industries-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

.industries-cta:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(37, 99, 235, 0.08));
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.cta-content h3 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cta-content p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    color: rgba(219, 234, 254, 0.7);
    margin: 0;
    line-height: 1.5;
}

.industries-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.industries-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.industries-cta-btn:hover::before {
    left: 100%;
}

.industries-cta-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.industries-cta-btn svg {
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
}

.industries-cta-btn:hover svg {
    transform: translateX(3px);
}

/* Background Patterns - Premium */
.industries-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.bg-pattern {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    animation: floatPattern 12s ease-in-out infinite;
    opacity: 0.5;
}

.bg-pattern-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.bg-pattern-2 {
    width: 90px;
    height: 90px;
    top: 60%;
    right: 12%;
    animation-delay: 4s;
}

.bg-pattern-3 {
    width: 70px;
    height: 70px;
    bottom: 25%;
    left: 20%;
    animation-delay: 8s;
}

@keyframes floatPattern {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-10px) scale(1.05);
        opacity: 0.7;
    }
}

/* Animation on scroll */
.industry-card {
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.6s ease forwards;
}

.industry-card:nth-child(1) { animation-delay: 0.05s; }
.industry-card:nth-child(2) { animation-delay: 0.1s; }
.industry-card:nth-child(3) { animation-delay: 0.15s; }
.industry-card:nth-child(4) { animation-delay: 0.2s; }
.industry-card:nth-child(5) { animation-delay: 0.25s; }
.industry-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design - Premium */
@media (max-width: 1199px) {
    .industries-section {
        padding: 50px 0;
    }
    
    .industries-header {
        margin-bottom: 40px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 18px;
        margin-bottom: 40px;
    }
    
    .industry-card {
        height: 300px;
    }
    
    .industry-content {
        padding: 18px;
    }
    
    .industries-cta {
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .industries-section {
        padding: 40px 0;
    }
    
    .industries-header {
        margin-bottom: 30px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 16px;
        margin-bottom: 30px;
    }
    
    .industry-card {
        height: 280px;
    }
    
    .industry-image {
        height: 120px;
    }
    
    .industry-content {
        padding: 16px;
    }
    
    .industry-title {
        font-size: 1.1rem;
    }
    
    .industry-desc {
        font-size: 0.8rem;
    }
    
    .industries-cta {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px 16px;
    }
    
    .cta-content h3 {
        font-size: 1.2rem;
    }
    
    .cta-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .industries-section {
        padding: 30px 0;
    }
    
    .industries-header {
        margin-bottom: 25px;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 25px;
    }
    
    .industry-card {
        height: 260px;
    }
    
    .industry-image {
        height: 100px;
    }
    
    .industry-content {
        padding: 14px;
    }
    
    .industry-title {
        font-size: 1rem;
    }
    
    .industry-desc {
        font-size: 0.75rem;
    }
    
    .industry-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .industries-cta {
        padding: 16px 14px;
    }
    
    .cta-content h3 {
        font-size: 1.1rem;
    }
    
    .cta-content p {
        font-size: 0.8rem;
    }
    
    .industries-cta-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
}

@media (max-width: 575px) {
    .industries-section {
        padding: 25px 0;
    }
    
    .industry-card {
        height: 240px;
    }
    
    .industry-image {
        height: 80px;
    }
    
    .industry-content {
        padding: 12px;
    }
    
    .industry-title {
        font-size: 0.9rem;
    }
    
    .industry-desc {
        font-size: 0.7rem;
    }
    
    .feature-tag {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
    
    .industry-btn {
        padding: 5px 10px;
        font-size: 0.7rem;
    }
    
    .industries-cta {
        padding: 14px 12px;
    }
    
    .industries-cta-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

/* Large screens - Premium */
@media (min-width: 1400px) {
    .industries-section {
        padding: 80px 0;
    }
    
    .industries-header {
        margin-bottom: 60px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 24px;
        margin-bottom: 60px;
    }
    
    .industry-card {
        height: 340px;
    }
    
    .industry-image {
        height: 160px;
    }
    
    .industry-content {
        padding: 22px;
    }
    
    .industry-title {
        font-size: 1.3rem;
    }
    
    .industry-desc {
        font-size: 0.9rem;
    }
    
    .industries-cta {
        padding: 28px;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .industries-cta-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Performance optimizations */
.industry-card,
.industry-image img,
.industry-btn {
    will-change: transform;
    backface-visibility: hidden;
}

/* Accessibility */
.industry-card:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.industry-btn:focus-visible,
.industries-cta-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .industry-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .industry-card:hover {
        transform: none;
    }
    
    .industry-image img {
        transition: none;
    }
    
    .industry-card:hover .industry-image img {
        transform: none;
    }
    
    .bg-pattern {
        animation: none;
    }
    
    .industries-section::before {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .industry-card {
        border-width: 2px;
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .industry-card:hover {
        border-color: var(--primary-color);
    }
    
    .feature-tag {
        background: var(--primary-color);
        color: white;
        border-color: white;
    }
    
    .industries-cta {
        border-width: 2px;
        border-color: rgba(255, 255, 255, 0.3);
    }
}