/* Industries Section Styles */
.industries-one {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.industries-one::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="%23e0e0e0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.industries-one .container {
    position: relative;
    z-index: 1;
}

.industry-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(240, 121, 33, 1) 0%, rgba(240, 121, 33, 0.5) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.industry-card:hover::before {
    transform: scaleX(1);
}

.industry-card__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(240, 121, 33, 1) 0%, rgba(240, 121, 33, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.4s ease;
}

.industry-card__icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(240, 121, 33, 1) 0%, rgba(240, 121, 33, 0.5) 100%);
    opacity: 0.3;
    z-index: -1;
    transition: all 0.4s ease;
}

.industry-card:hover .industry-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.industry-card:hover .industry-card__icon::before {
    opacity: 0.6;
    transform: scale(1.2);
}

.industry-card__icon i {
    font-size: 36px;
    color: white;
    transition: all 0.4s ease;
}

.industry-card:hover .industry-card__icon i {
    transform: scale(1.1);
}

.industry-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.industry-card__title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    transition: all 0.4s ease;
    line-height: 1.3;
}

.industry-card:hover .industry-card__title {
    color: rgba(240, 121, 33, 1);
    transform: translateY(-2px);
}

.industry-card__text {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    transition: all 0.4s ease;
}

.industry-card:hover .industry-card__text {
    color: #495057;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .industries-one {
        padding: 100px 0;
    }
    
    .industry-card {
        padding: 35px 25px;
    }
    
    .industry-card__icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .industry-card__icon i {
        font-size: 32px;
    }
    
    .industry-card__title {
        font-size: 20px;
    }
    
    .industry-card__text {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .industries-one {
        padding: 80px 0;
    }
    
    .industry-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .industry-card__icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .industry-card__icon i {
        font-size: 28px;
    }
    
    .industry-card__title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .industry-card__text {
        font-size: 14px;
    }
}

/* Animation delays for staggered effect */
.industries-one .col-lg-4:nth-child(1) .industry-card { animation-delay: 0.1s; }
.industries-one .col-lg-4:nth-child(2) .industry-card { animation-delay: 0.2s; }
.industries-one .col-lg-4:nth-child(3) .industry-card { animation-delay: 0.3s; }
.industries-one .col-lg-4:nth-child(4) .industry-card { animation-delay: 0.4s; }
.industries-one .col-lg-4:nth-child(5) .industry-card { animation-delay: 0.5s; }
.industries-one .col-lg-4:nth-child(6) .industry-card { animation-delay: 0.6s; }
.industries-one .col-lg-4:nth-child(7) .industry-card { animation-delay: 0.7s; }

/* Remove white space below footer */
.main-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

html {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure footer sticks to bottom without spacing */
.page-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Remove any spacing from back-to-top button */
.scroll-top {
    margin-bottom: 0 !important;
}

/* Blog Section Image Standardization */
.blog-card__image img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    object-position: center !important;
}

.blog-card__image {
    position: relative;
    overflow: hidden;
}

/* Blog Section Image Standardization */
.blog-card__image img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    object-position: center !important;
}

.blog-card__image {
    position: relative;
    overflow: hidden;
}

.blog-card__image a {
    display: block;
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-card__image a img:first-child,
.blog-card__image a img:last-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Fix FontAwesome dropdown toggler icons - replace with Unicode arrows */
.fa-angle-down:before,
.fa.fa-angle-down:before,
i.fa-angle-down:before,
.fa-angle-down,
.fa.fa-angle-down,
i.fa-angle-down {
    content: "▼" !important;
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    color: #666 !important;
    font-weight: normal !important;
}

/* Specific fix for dropdown toggler buttons */
button[aria-label="dropdown toggler"] .fa-angle-down:before,
button[aria-label="dropdown toggler"] i.fa-angle-down:before,
button[aria-label="dropdown toggler"] .fa.fa-angle-down:before {
    content: "▼" !important;
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    color: #666 !important;
}

/* Alternative styling for better visibility */
.dropdown-toggle .fa-angle-down:before,
.dropdown-toggle i.fa-angle-down:before {
    content: "▼" !important;
    font-family: Arial, sans-serif !important;
    font-size: 10px !important;
    color: #666 !important;
    margin-left: 5px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Remove any box styling from buttons and icons */
button[aria-label="dropdown toggler"],
button[aria-label="dropdown toggler"] i,
button[aria-label="dropdown toggler"] .fa,
button[aria-label="dropdown toggler"] .fa-angle-down {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: transparent !important;
}

/* Ensure clean arrow display without any container styling */
.fa-angle-down:before,
.fa.fa-angle-down:before,
i.fa-angle-down:before,
.fa-angle-down,
.fa.fa-angle-down,
i.fa-angle-down {
    content: "▼" !important;
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    color: #666 !important;
    font-weight: normal !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Icon fallbacks using common icon classes */
.flaticon-oil::before { content: "⛽"; font-size: 40px; }
.flaticon-telecom::before { content: "📡"; font-size: 40px; }
.flaticon-government::before { content: "🏛️"; font-size: 40px; }
.flaticon-education::before { content: "🎓"; font-size: 40px; }
.flaticon-healthcare::before { content: "🏥"; font-size: 40px; }
.flaticon-banking::before { content: "🏦"; font-size: 40px; }
.flaticon-retail::before { content: "🛒"; font-size: 40px; }

/* Force flaticon icons to display with Unicode fallbacks */
.flaticon-location::before,
.flaticon-location {
    content: "📍" !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    color: #666 !important;
}

.flaticon-envelope::before,
.flaticon-envelope {
    content: "📧" !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    color: #666 !important;
}

.flaticon-phone::before,
.flaticon-phone {
    content: "📞" !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    color: #666 !important;
}

.flaticon-close::before,
.flaticon-close {
    content: "✕" !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    color: #666 !important;
}

.flaticon-search::before,
.flaticon-search {
    content: "🔍" !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    color: #666 !important;
}

/* Proper positioning for sidebar contact icons */
.sidebar-one__info li {
    position: relative !important;
    padding-left: 30px !important;
    margin-bottom: 15px !important;
}

.sidebar-one__info li i.flaticon-location,
.sidebar-one__info li i.flaticon-envelope,
.sidebar-one__info li i.flaticon-phone {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    color: #666 !important;
}

/* Ensure contact text has proper spacing */
.sidebar-one__info li a {
    color: inherit !important;
    text-decoration: none !important;
}

.sidebar-one__info li a:hover {
    color: var(--lotech-base, #F07921) !important;
}
