/* ============================================
   INDUSTRIES PAGE - PREMIUM CARD DESIGN
   ============================================ */

/* Industries Grid Container */
.industries_grid_container {
    padding: 60px 0;
}

/* Industry Card Wrapper */
.industry_card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.industry_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
    transition: all 0.35s ease;
}

/* Card Background Image */
.industry_card_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card Content */
.industry_card_content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

/* Industry Icon */
.industry_icon_wrapper {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.industry_icon_wrapper i {
    font-size: 28px;
    color: #fff;
    transition: transform 0.35s ease;
}

/* Industry Title */
.industry_card_title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Industry Description */
.industry_card_description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Learn More Button */
.industry_card_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #f35b04 0%, #ee1c5a 100%);
    padding: 12px 24px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.35s ease;
    border: none;
    cursor: pointer;
    align-self: flex-start;
}

.industry_card_btn i {
    transition: transform 0.35s ease;
}

/* Hover Effects */
.industry_card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(243, 91, 4, 0.3);
}

.industry_card:hover::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.industry_card:hover .industry_card_bg {
    transform: scale(1.1);
}

.industry_card:hover .industry_icon_wrapper {
    transform: scale(1.1);
    background: rgba(243, 91, 4, 0.9);
    border-color: rgba(243, 91, 4, 0.5);
}

.industry_card:hover .industry_icon_wrapper i {
    transform: scale(1.15);
}

.industry_card:hover .industry_card_btn {
    opacity: 1;
    transform: translateY(0);
}

.industry_card:hover .industry_card_btn i {
    transform: translateX(4px);
}

/* Active Card State */
.industry_card.active {
    box-shadow: 0 20px 40px rgba(243, 91, 4, 0.25),
                0 0 0 2px rgba(243, 91, 4, 0.5);
}

/* ============================================
   DETAIL PANEL (EXPANDABLE)
   ============================================ */

.industry_detail_panel {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 0;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-height: 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry_detail_panel.open {
    max-height: 800px;
    opacity: 1;
    padding: 50px;
}

.industry_detail_content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.industry_detail_panel.open .industry_detail_content {
    opacity: 1;
    transform: translateY(0);
}

/* Detail Panel Header */
.detail_panel_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.detail_panel_title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail_panel_icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f35b04 0%, #ee1c5a 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail_panel_icon i {
    font-size: 34px;
    color: #fff;
}

.detail_panel_title h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.detail_close_btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.detail_close_btn:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.detail_close_btn i {
    font-size: 20px;
    color: #666;
}

/* Detail Panel Body */
.detail_panel_body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Detail Sections */
.detail_section {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.detail_section h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail_section h4 i {
    color: #f35b04;
    font-size: 22px;
}

.detail_section p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.detail_section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail_section li {
    font-size: 15px;
    color: #444;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail_section li:last-child {
    border-bottom: none;
}

.detail_section li i {
    color: #f35b04;
    font-size: 16px;
}

/* Technology Tags */
.tech_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech_tag {
    padding: 8px 16px;
    background: linear-gradient(135deg, #f35b04 0%, #ee1c5a 100%);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

/* CTA Button in Detail Panel */
.detail_cta_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f35b04 0%, #ee1c5a 100%);
    color: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.detail_cta_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(243, 91, 4, 0.4);
}

.detail_cta_btn i {
    transition: transform 0.3s ease;
}

.detail_cta_btn:hover i {
    transform: translateX(4px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Laptop (1200px - 1440px) */
@media (max-width: 1440px) {
    .industry_card {
        height: 300px;
    }
    
    .industry_card_title {
        font-size: 22px;
    }
}

/* Laptop (992px - 1199px) */
@media (max-width: 1199px) {
    .detail_panel_body {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .industry_card {
        height: 280px;
    }
    
    .industry_card_content {
        padding: 25px;
    }
    
    .industry_icon_wrapper {
        width: 50px;
        height: 50px;
        top: 25px;
        right: 25px;
    }
    
    .industry_icon_wrapper i {
        font-size: 24px;
    }
    
    .industry_card_title {
        font-size: 20px;
    }
    
    .industry_detail_panel.open {
        padding: 40px;
    }
    
    .detail_panel_title h3 {
        font-size: 28px;
    }
}

/* Mobile (576px - 767px) */
@media (max-width: 767px) {
    .industry_card {
        height: 260px;
    }
    
    .industry_card_content {
        padding: 20px;
    }
    
    .industry_icon_wrapper {
        width: 45px;
        height: 45px;
        top: 20px;
        right: 20px;
    }
    
    .industry_icon_wrapper i {
        font-size: 20px;
    }
    
    .industry_card_title {
        font-size: 18px;
    }
    
    .industry_card_description {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .industry_detail_panel.open {
        padding: 30px 20px;
    }
    
    .detail_panel_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .detail_close_btn {
        align-self: flex-end;
    }
    
    .detail_panel_title h3 {
        font-size: 24px;
    }
    
    .detail_panel_icon {
        width: 60px;
        height: 60px;
    }
    
    .detail_panel_icon i {
        font-size: 28px;
    }
}

/* Small Mobile (320px - 575px) */
@media (max-width: 575px) {
    .industry_card {
        height: 240px;
    }
    
    .industry_card_title {
        font-size: 16px;
    }
    
    .industry_card_description {
        font-size: 12px;
    }
    
    .industry_card_btn {
        font-size: 13px;
        padding: 10px 20px;
    }
}

/* Glass Effect for Modern Look */
.industry_card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.industry_card:hover::after {
    opacity: 1;
}
