/* Industries Section Styles */
.industries-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.industries-section::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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%234a5568" stroke-width="0.5" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

/* Section Titles */
.section-title {
    background: linear-gradient(135deg, #6905E9, #7C01DD, #C070FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(105, 5, 233, 0.3);
}

.section-subtitle {
    letter-spacing: 1px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

/* Industry Cards */
.industry-card {
    transition: all 0.3s ease;
    border-radius: 20px !important;
    overflow: hidden;
    background: white;
    position: relative;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.industry-card:hover::before {
    transform: translateX(100%);
}

/* Glassy Liquid Industry Cards */
.industry-card-glass {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    position: relative;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
}

.industry-card-glass:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

.industry-card-glass:hover .liquid-hover {
    opacity: 1;
}

.industry-card-glass:hover .glass-hover-overlay {
    opacity: 1;
}

.industry-card-glass:hover .glass-btn {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.industry-card-glass:hover .glass-arrow i {
    transform: translateX(8px);
}

/* Card Header */
.card-header {
    position: relative;
    border-radius: 0 !important;
    border: none !important;
    background: linear-gradient(135deg, #6f42c1, #495057) !important;
}

/* Liquid Background Elements */
.liquid-bg {
    z-index: 1;
}

.liquid-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(105, 5, 233, 0.1), rgba(124, 1, 221, 0.1));
    animation: liquidFloat 8s ease-in-out infinite;
}

.liquid-shape-1 {
    width: 120px;
    height: 120px;
    top: -60px;
    right: -60px;
    animation-delay: 0s;
}

.liquid-shape-2 {
    width: 80px;
    height: 80px;
    bottom: -40px;
    left: -40px;
    animation-delay: 2s;
}

.liquid-shape-3 {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes liquidFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Glass Overlay */
.glass-overlay {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    z-index: 2;
}

/* Glass Icon Container */
.glass-icon-container {
    position: relative;
}

.glass-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.industry-card-glass:hover .glass-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.glass-icon {
    max-height: 32px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

/* Glass Typography */
.glass-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.industry-card-glass:hover .glass-title {
    transform: translateY(-2px);
    color: rgba(255, 255, 255, 1);
}

.glass-badge {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.industry-card-glass:hover .glass-badge {
    color: rgba(255, 255, 255, 0.9);
}

.glass-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.industry-card-glass:hover .glass-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Glass Button */
.glass-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service Pills */
.service-pill {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    display: inline-block;
}

.service-pill-more {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.industry-card-glass:hover .service-pill {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Glass Bottom Bar */
.glass-bottom-bar {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-stats {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.industry-card-glass:hover .glass-stats {
    color: rgba(255, 255, 255, 0.9);
}

.glass-arrow i {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.industry-card-glass:hover .glass-arrow i {
    color: rgba(255, 255, 255, 0.9);
}

/* Liquid Hover Effects */
.liquid-hover {
    z-index: 3;
    transition: all 0.6s ease;
}

.liquid-wave {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(105, 5, 233, 0.3), transparent);
    animation: liquidWave 3s ease-in-out infinite;
}

.liquid-wave-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.liquid-wave-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
    animation-delay: 1s;
}

.liquid-wave-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

@keyframes liquidWave {
    0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.3; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.6; }
}

/* Glass Hover Overlay */
.glass-hover-overlay {
    background: linear-gradient(135deg, rgba(105, 5, 233, 0.8), rgba(124, 1, 221, 0.8));
    backdrop-filter: blur(20px);
    z-index: 10;
    transition: all 0.6s ease;
}

.glass-hover-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: glassPulse 2s ease-in-out infinite;
}

@keyframes glassPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.glass-hover-title {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
}

.glass-hover-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--bs-primary);
    z-index: 2;
}

/* Industry Icon */
.industry-icon {
    transition: all 0.3s ease;
}

.industry-card:hover .industry-icon img {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* Industry Name */
.industry-name {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.industry-card:hover .industry-name {
    transform: translateY(-2px);
}

/* Compact Industry Icon */
.industry-icon-compact {
    transition: all 0.3s ease;
}

.industry-card-compact:hover .industry-icon-compact img {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* Compact Industry Name */
.industry-name-compact {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-size: 0.9rem !important;
}

.industry-card-compact:hover .industry-name-compact {
    transform: translateY(-1px);
}

/* Background Overlay */
.background-overlay {
    transition: all 0.3s ease;
}

.industry-card:hover .background-overlay {
    opacity: 0.2 !important;
    transform: scale(1.05);
}

/* Decorative Elements */
.card-header .position-absolute .bg-white {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.industry-card:hover .card-header .position-absolute .bg-white {
    background-color: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1);
}

/* Card Body */
.card-body {
    position: relative;
    z-index: 2;
}

.card-description {
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Compact Card Body */
.card-body-compact {
    position: relative;
    z-index: 2;
}

.card-description-compact {
    line-height: 1.4;
    font-size: 0.8rem;
}

/* Services Section */
.services-section {
    padding-top: 1rem;
}

.services-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-list {
    font-size: 0.9rem;
}

.service-item {
    transition: all 0.2s ease;
    padding: 0.25rem 0;
}

.service-item:hover {
    transform: translateX(5px);
}

.service-item i {
    transition: all 0.2s ease;
}

.service-item:hover i {
    transform: scale(1.2);
}

/* Compact Services Section */
.services-section-compact {
    padding-top: 0.5rem;
}

.services-title-compact {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-list-compact {
    font-size: 0.75rem;
}

.service-item-compact {
    transition: all 0.2s ease;
    padding: 0.1rem 0;
}

.service-item-compact:hover {
    transform: translateX(3px);
}

.service-item-compact i {
    transition: all 0.2s ease;
}

.service-item-compact:hover i {
    transform: scale(1.1);
}

/* Card Footer */
.card-footer .btn {
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Compact Card Footer */
.card-footer-compact .btn {
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.8rem;
}

.card-footer .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;
}

.card-footer .btn:hover::before {
    left: 100%;
}

.card-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-footer-compact .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(105, 5, 233, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-title {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #6905E9, #7C01DD, #C070FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(105, 5, 233, 0.3);
}

.cta-description {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.8);
}

.cta-section .btn {
    position: relative;
    z-index: 2;
    border-radius: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(105, 5, 233, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .industry-card {
        margin-bottom: 2rem;
    }
    
    .industry-name {
        font-size: 1.5rem;
    }
    
    .card-header {
        min-height: 150px !important;
    }
    
    .industry-icon img {
        max-height: 60px !important;
    }
    
    .cta-section {
        padding: 2rem !important;
    }
    
    .cta-section .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Glass Cards Mobile */
    .industry-card-glass {
        min-height: 280px;
        margin-bottom: 1.5rem;
    }
    
    .glass-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .glass-icon {
        max-height: 24px !important;
    }
    
    .glass-title {
        font-size: 1rem !important;
    }
    
    .glass-description {
        font-size: 0.8rem !important;
    }
    
    .service-pill {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.6rem !important;
    }
    
    .liquid-shape-1 {
        width: 80px;
        height: 80px;
        top: -40px;
        right: -40px;
    }
    
    .liquid-shape-2 {
        width: 60px;
        height: 60px;
        bottom: -30px;
        left: -30px;
    }
    
    .liquid-shape-3 {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .card-header {
        min-height: 120px !important;
    }
    
    .industry-icon img {
        max-height: 50px !important;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
    
    .card-footer {
        padding: 1.5rem !important;
    }
    
    /* Glass Cards Small Mobile */
    .industry-card-glass {
        min-height: 240px;
        padding: 1rem !important;
    }
    
    .glass-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .glass-icon {
        max-height: 20px !important;
    }
    
    .glass-title {
        font-size: 0.9rem !important;
    }
    
    .glass-description {
        font-size: 0.75rem !important;
    }
    
    .service-pill {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.4rem !important;
    }
    
    .glass-btn {
        width: 32px;
        height: 32px;
        font-size: 0.7rem !important;
    }
    
    .liquid-shape-1 {
        width: 60px;
        height: 60px;
        top: -30px;
        right: -30px;
    }
    
    .liquid-shape-2 {
        width: 40px;
        height: 40px;
        bottom: -20px;
        left: -20px;
    }
    
    .liquid-shape-3 {
        width: 30px;
        height: 30px;
    }
}

/* Animation Delays for Staggered Effect */
.industry-card[data-aos-delay="100"] {
    animation-delay: 0.1s;
}

.industry-card[data-aos-delay="200"] {
    animation-delay: 0.2s;
}

.industry-card[data-aos-delay="300"] {
    animation-delay: 0.3s;
}

.industry-card[data-aos-delay="400"] {
    animation-delay: 0.4s;
}

.industry-card[data-aos-delay="500"] {
    animation-delay: 0.5s;
}

.industry-card[data-aos-delay="600"] {
    animation-delay: 0.6s;
}

/* Color Variations for Different Card Types */
.industry-card .card-header.bg-primary {
    background: linear-gradient(135deg, #6f42c1, #5a359a) !important;
}

.industry-card .card-header.bg-secondary {
    background: linear-gradient(135deg, #6c757d, #5a6268) !important;
}

.industry-card .card-header.bg-success {
    background: linear-gradient(135deg, #198754, #146c43) !important;
}

.industry-card .card-header.bg-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800) !important;
}

.industry-card .card-header.bg-info {
    background: linear-gradient(135deg, #0dcaf0, #0aa2c0) !important;
}

.industry-card .card-header.bg-dark {
    background: linear-gradient(135deg, #212529, #1a1d20) !important;
}

/* Liquid Glassy Industry Cards */
.industry-card-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
}

.industry-card-glass:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(105, 5, 233, 0.4);
}

.industry-card-glass:hover .liquid-hover {
    opacity: 1;
}

/* Liquid Background */
.liquid-bg {
    background: linear-gradient(135deg, 
        rgba(105, 5, 233, 0.15) 0%, 
        rgba(124, 1, 221, 0.08) 30%,
        rgba(192, 112, 255, 0.12) 70%,
        rgba(105, 5, 233, 0.1) 100%);
}

.liquid-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        rgba(105, 5, 233, 0.1), 
        rgba(192, 112, 255, 0.1));
    animation: liquidFloat 6s ease-in-out infinite;
}

.liquid-shape-1 {
    width: 80px;
    height: 80px;
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.liquid-shape-2 {
    width: 60px;
    height: 60px;
    bottom: -10px;
    left: -10px;
    animation-delay: 2s;
}

.liquid-shape-3 {
    width: 40px;
    height: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes liquidFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Glass Overlay */
.glass-overlay {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 50%,
        rgba(0, 0, 0, 0.05) 100%);
    backdrop-filter: blur(10px);
}

/* Text Overlay for Better Readability */
.industry-card-glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.1) 0%, 
        rgba(0, 0, 0, 0.05) 50%,
        rgba(0, 0, 0, 0.08) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Liquid Hover Effect */
.liquid-hover {
    background: linear-gradient(135deg, 
        rgba(105, 5, 233, 0.2) 0%, 
        rgba(192, 112, 255, 0.2) 100%);
    transition: opacity 0.4s ease;
}

.liquid-wave {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(105, 5, 233, 0.3) 0%, 
        transparent 70%);
    animation: wavePulse 2s ease-in-out infinite;
}

.liquid-wave-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.liquid-wave-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 20%;
    animation-delay: 0.7s;
}

.liquid-wave-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 50%;
    animation-delay: 1.4s;
}

@keyframes wavePulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.industry-icon {
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 2px 8px rgba(105, 5, 233, 0.4));
}

.industry-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.industry-description {
    font-size: 1.1rem;
    line-height: 1.6;
    flex-grow: 1;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}