﻿/*=========================================================
INDUSTRIES - PREMIUM VERSION
=========================================================*/

.industries {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background: linear-gradient( 135deg, #f8fbff, #ffffff, #eef4ff);
}

    /*==================================================
FLOATING DECORATIONS
==================================================*/

    .industries::before,
    .industries::after {
        content: "";
        position: absolute;
        border: 2px solid rgba(255,152,0,.20);
        animation: industryFloat 12s ease-in-out infinite;
    }

    .industries::before {
        width: 170px;
        height: 170px;
        left: -70px;
        top: 60px;
        transform: rotate(45deg);
    }

    .industries::after {
        width: 120px;
        height: 120px;
        right: -40px;
        bottom: 70px;
        transform: rotate(-20deg);
    }

@keyframes industryFloat {

    0% {
        transform: translateY(0) rotate(45deg);
    }

    50% {
        transform: translateY(-22px) rotate(65deg);
    }

    100% {
        transform: translateY(0) rotate(45deg);
    }
}

/*==================================================
SECTION TITLE
==================================================*/

.industries .section-subtitle {
    display: inline-block;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ff9800;
    margin-bottom: 18px;
}

.industries .section-title {
    font-size: 56px;
    font-weight: 800;
    color: #123B7A;
    margin-bottom: 60px;
}

/*==================================================
CARD
==================================================*/

.industry-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-radius: 30px;
    padding: 45px 25px;
    text-align: center;
    border: none;
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
    transition: .45s;
    height: 100%;
}

    .industry-card:hover {
        transform: translateY(-14px);
        box-shadow: 0 30px 70px rgba(0,0,0,.18);
    }

    /* Premium Glow */

    .industry-card::before {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        left: -160px;
        top: -160px;
        background: radial-gradient(circle, rgba(255,152,0,.15), transparent 70%);
        opacity: 0;
        transition: .45s;
    }

    .industry-card:hover::before {
        opacity: 1;
    }

    /*==================================================
ICON
==================================================*/

    .industry-card i {
        width: 95px;
        height: 95px;
        margin: auto auto 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: linear-gradient( 135deg, #123B7A, #1D5FE0);
        color: white;
        font-size: 38px;
        box-shadow: 0 15px 35px rgba(18,59,122,.25);
        transition: .45s;
    }

    .industry-card:hover i {
        background: linear-gradient( 135deg, #ff9800, #ffb300);
        color: white;
        transform: rotate(10deg) scale(1.12);
    }

    /*==================================================
TEXT
==================================================*/

    .industry-card h4 {
        font-size: 28px;
        font-weight: 800;
        color: #123B7A;
        transition: .35s;
    }

    .industry-card p {
        margin-top: 15px;
        font-size: 17px;
        line-height: 1.8;
        color: #5f6778;
        transition: .35s;
    }

/*==================================================
PREMIUM HOVER COLORS
==================================================*/

.software-card:hover {
    background: linear-gradient( 135deg, #1565C0, #42A5F5, #90CAF9);
}

.education-card:hover {
    background: linear-gradient( 135deg, #ff9800, #ffb300, #ffd54f);
}

.healthcare-card:hover {
    background: linear-gradient( 135deg, #00a86b, #2ecc71, #81f5c8);
}

.corporate-card:hover {
    background: linear-gradient( 135deg, #673ab7, #8E44AD, #d16fff);
}

.manufacturing-card:hover {
    background: linear-gradient( 135deg, #ff4f8b, #ff79aa, #ffc1da);
}

.retail-card:hover {
    background: linear-gradient( 135deg, #ff9800, #ff7043, #ffd54f);
}

.finance-card:hover {
    background: linear-gradient( 135deg, #0097a7, #26c6da, #8befff);
}

.startup-card:hover {
    background: linear-gradient( 135deg, #ef5350, #ff6f61, #ffcdd2);
}

.industry-card:hover h4,
.industry-card:hover p {
    color: white;
}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:991px) {

    .industries {
        padding: 90px 0;
    }

        .industries .section-title {
            font-size: 44px;
        }

    .industry-card {
        margin-bottom: 30px;
    }
}

@media(max-width:576px) {

    .industries {
        padding: 70px 0;
    }

        .industries .section-title {
            font-size: 34px;
        }

        .industries .section-subtitle {
            font-size: 18px;
            letter-spacing: 2px;
        }

    .industry-card {
        padding: 35px 20px;
    }

        .industry-card h4 {
            font-size: 24px;
        }

        .industry-card p {
            font-size: 16px;
        }
}

/*=========================================================
PREMIUM FLOATING SQUARES
=========================================================*/

.floating-squares {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.square {
    position: absolute;
    border: 2px solid;
    opacity: .35;
    animation: floatSquare 12s ease-in-out infinite;
}

.blue {
    border-color: #2f80ff;
}

.orange {
    border-color: #ff9800;
}

.square:not(.small) {
    width: 90px;
    height: 90px;
}

.small {
    width: 28px;
    height: 28px;
}

/*=========================================================
POSITIONS
=========================================================*/

.sq1 {
    top: 3%;
    left: 4%;
    transform: rotate(20deg);
}

.sq2 {
    top: 8%;
    left: 18%;
    transform: rotate(45deg);
}

.sq3 {
    top: 5%;
    left: 35%;
    transform: rotate(30deg);
}

.sq4 {
    top: 10%;
    left: 55%;
    transform: rotate(15deg);
}

.sq5 {
    top: 7%;
    left: 78%;
    transform: rotate(40deg);
}

.sq6 {
    top: 30%;
    left: 6%;
}

.sq7 {
    top: 40%;
    left: 22%;
}

.sq8 {
    top: 36%;
    left: 45%;
}

.sq9 {
    top: 32%;
    left: 70%;
}

.sq10 {
    top: 42%;
    left: 90%;
}

.sq11 {
    top: 18%;
    left: 12%;
}

.sq12 {
    top: 22%;
    left: 28%;
}

.sq13 {
    top: 26%;
    left: 52%;
}

.sq14 {
    top: 18%;
    left: 82%;
}

.sq15 {
    top: 58%;
    left: 10%;
}

.sq16 {
    top: 72%;
    left: 25%;
}

.sq17 {
    top: 66%;
    left: 46%;
}

.sq18 {
    top: 76%;
    left: 64%;
}

.sq19 {
    top: 84%;
    left: 82%;
}

.sq20 {
    top: 88%;
    left: 94%;
}

/*=========================================================
ANIMATION
=========================================================*/

@keyframes floatSquare {

    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: .25;
    }

    25% {
        transform: translateY(-15px) rotate(15deg);
        opacity: .50;
    }

    50% {
        transform: translateY(-30px) rotate(35deg);
        opacity: .35;
    }

    75% {
        transform: translateY(-15px) rotate(18deg);
        opacity: .55;
    }

    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: .25;
    }
}