/*==================================================
ROOT
==================================================*/
:root {
    --primary: #2563eb;
    --heading: #0f172a;
    --text: #64748b;
    --white: #ffffff;
    --light: #f8fafc;
    --border: #e5e7eb;
    --transition: .35s ease;
}

/*==================================================
INDUSTRY HERO
Same style as About Page Hero
==================================================*/

.industry-hero {
    padding: 100px 0 80px;

    background: linear-gradient(180deg,
            #ffffff 0%,
            #f7f9ff 100%);

    position: relative;
    overflow: hidden;
}

.industry-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;

    gap: 80px;

    align-items: center;
}


/*==================================================
HERO CONTENT
==================================================*/

.industry-hero-content {
    position: relative;
    z-index: 2;
}

.industry-hero-content h1 {
    font-size: 54px;
    line-height: 1.05;
    font-weight: 800;

    letter-spacing: -2px;

    margin: 20px 0;
}

.industry-hero-content h1 span {
    color: var(--primary);
}

.industry-hero-content p {
    max-width: 620px;

    color: var(--text);

    font-size: 17px;
    line-height: 1.7;

    margin-top: 20px;
}


/*==================================================
HERO BUTTONS
==================================================*/

.industry-hero-buttons {
    display: flex;
    gap: 18px;

    margin-top: 50px;
}

.industry-hero-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 64px;
    padding: 0 32px;

    border-radius: 100px;

    font-weight: 700;

    text-decoration: none;

    transition: .35s ease;
}

.industry-btn-primary {
    background: var(--primary);
    color: #fff;
}

.industry-btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(37, 99, 235, .30);
}

.industry-btn-outline {
    border: 1px solid #0f172a;
    color: #0f172a;
}

.industry-btn-outline:hover {
    background: #0f172a;
    color: #fff;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    margin-bottom: 18px;
}

.section-tag span {
    width: 22px;
    height: 2px;
    background: var(--blue);
    display: inline-block;
}

/*==================================================
HERO IMAGE
==================================================*/

.industry-hero-image {
    position: relative;
}

.industry-hero-image img {
    width: 400px;
    display: block;

    border-radius: 30px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .08);

    transition: .4s ease;
}

.industry-hero-image img:hover {
    transform: scale(1.02);
}


/*==================================================
DECORATIVE SHAPES
Same as About Hero
==================================================*/

.industry-hero-image::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background: rgba(37, 99, 235, .08);

    top: -30px;
    right: -30px;

    z-index: -1;
}

.industry-hero-image::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    background: var(--primary);

    opacity: .08;

    border-radius: 30px;

    left: -30px;
    bottom: -30px;

    transform: rotate(25deg);

    z-index: -1;
}


/*==================================================
TABLET
==================================================*/

@media(max-width:992px) {

    .industry-hero {
        padding: 80px 0 70px;
    }

    .industry-hero-grid {
        grid-template-columns: 1fr;

        gap: 55px;

        text-align: center;
    }

    .industry-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .industry-hero-buttons {
        justify-content: center;
    }

    .industry-hero-image {
        max-width: 700px;
        width: 100%;

        margin: 0 auto;
    }
}


/*==================================================
MOBILE
==================================================*/

@media(max-width:768px) {

    .industry-hero {
        padding: 65px 0 60px;
    }

    .industry-hero-content h1 {
        font-size: 40px;
        line-height: 1.05;
        letter-spacing: -1.5px;
    }

    .industry-hero-content p {
        font-size: 16px;
    }

    .industry-hero-buttons {
        flex-direction: column;
        gap: 12px;

        margin-top: 30px;
    }

    .industry-hero-buttons a {
        width: 100%;
    }

    .industry-hero-image img {
        border-radius: 24px;
    }

    .industry-hero-image::before {
        width: 110px;
        height: 110px;

        top: -20px;
        right: -15px;
    }

    .industry-hero-image::after {
        width: 80px;
        height: 80px;

        left: -15px;
        bottom: -20px;

        border-radius: 20px;
    }
}

/*==================================================
SECTION TITLE
==================================================*/
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: .85rem;
}

.section-title h2 {
    margin-top: 15px;
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    color: var(--heading);
}

/*==================================================
INDUSTRIES
==================================================*/
.industries-grid-section {
    padding: 0px 0;
    background: #fff;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.industry-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: .35s;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 18px 40px rgba(37, 99, 235, .12);
}

.industry-card:hover::before {
    transform: scaleX(1);
}

.industry-icon {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
    background: #eff6ff;
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 25px;
}

.industry-card h3 {
    font-size: 1.45rem;
    color: var(--heading);
    margin-bottom: 15px;
}

.industry-card p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
}

.industry-card a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.industry-card a i {
    transition: .3s;
}

.industry-card:hover a i {
    transform: translateX(6px);
}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1200px) {

    .industries-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}

@media(max-width:992px) {



    .industries-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media(max-width:768px) {


    .industries-grid {

        grid-template-columns: 1fr;

    }

}

/*==================================================
WHY CHOOSE RUBITCUBE
==================================================*/

.why-industries {
    padding: 90px 0;
    background: #f8fafc;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.why-card {

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 35px 30px;

    transition: var(--transition);

    text-align: center;

}

.why-card:hover {

    transform: translateY(-10px);

    border-color: var(--primary);

    box-shadow: 0 20px 45px rgba(37, 99, 235, .10);

}

.why-icon {

    width: 70px;

    height: 70px;

    margin: 0 auto 25px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 18px;

    background: #eff6ff;

    color: var(--primary);

    font-size: 28px;

}

.why-card h3 {

    font-size: 1.4rem;

    color: var(--heading);

    margin-bottom: 15px;

}

.why-card p {

    color: var(--text);

    line-height: 1.8;

    font-size: 15px;

}

/*==================================================
FEATURED INDUSTRIES
==================================================*/

.featured-industries {

    padding: 90px 0;

    background: #fff;

}

.industry-feature {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

    margin-top: 80px;

}

.industry-feature:first-of-type {

    margin-top: 50px;

}

.industry-feature.reverse {

    direction: rtl;

}

.industry-feature.reverse>* {

    direction: ltr;

}

/* Image */

.industry-image {

    overflow: hidden;

    border-radius: 24px;

    position: relative;

}

.industry-image img {

    width: 100%;

    display: block;

    border-radius: 24px;

    transition: .5s;

}

.industry-feature:hover img {

    transform: scale(1.06);

}

/* Content */

.industry-content span {

    display: inline-block;

    color: var(--primary);

    font-size: .85rem;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-weight: 700;

    margin-bottom: 18px;

}

.industry-content h3 {

    font-size: 2.3rem;

    color: var(--heading);

    margin-bottom: 20px;

    line-height: 1.2;

}

.industry-content p {

    color: var(--text);

    line-height: 1.9;

    margin-bottom: 25px;

}

.industry-content ul {

    list-style: none;

    padding: 0;

    margin: 0;

}

.industry-content ul li {

    position: relative;

    padding-left: 28px;

    margin-bottom: 14px;

    color: var(--heading);

    font-weight: 500;

}

.industry-content ul li::before {

    content: "✓";

    position: absolute;

    left: 0;

    top: 0;

    color: var(--primary);

    font-weight: 700;

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1200px) {

    .why-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media(max-width:992px) {

    .industry-feature {

        grid-template-columns: 1fr;

        gap: 35px;

    }

    .industry-feature.reverse {

        direction: ltr;

    }

}

@media(max-width:768px) {

    .why-grid {

        grid-template-columns: 1fr;

    }

    .industry-content h3 {

        font-size: 1.8rem;

    }

    .industry-feature {

        margin-top: 60px;

    }

}

/*==================================================
DEVELOPMENT PROCESS
==================================================*/

.industry-process {
    padding: 90px 0;
    background: #f8fafc;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.process-card {

    position: relative;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 35px 25px;

    transition: var(--transition);

    overflow: hidden;

}

.process-card::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 4px;

    background: var(--primary);

    transform: scaleX(0);

    transition: .35s;

}

.process-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 20px 40px rgba(37, 99, 235, .10);

}

.process-card:hover::before {

    transform: scaleX(1);

}

.process-number {

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: #eff6ff;

    color: var(--primary);

    font-size: 1.3rem;

    font-weight: 700;

    margin-bottom: 25px;

}

.process-card h3 {

    font-size: 1.35rem;

    color: var(--heading);

    margin-bottom: 15px;

}

.process-card p {

    color: var(--text);

    line-height: 1.8;

    font-size: 15px;

}

/*==================================================
STATISTICS
==================================================*/

.industry-stats {

    background: #fff;

}

.stats-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

}

.stat-card {

    text-align: center;

    padding: 45px 25px;

    background: #f8fafc;

    border-radius: 20px;

    border: 1px solid var(--border);

    transition: var(--transition);

}

.stat-card:hover {

    background: var(--primary);

    border-color: var(--primary);

    transform: translateY(-8px);

}

.stat-card h2 {

    font-size: 3rem;

    color: var(--primary);

    margin-bottom: 15px;

    transition: .35s;

}

.stat-card p {

    color: var(--text);

    font-weight: 500;

    transition: .35s;

}

.stat-card:hover h2,
.stat-card:hover p {

    color: #fff;

}

/*==================================================
CTA
==================================================*/

.industry-cta {

    padding: 90px 0;

    background: #f8fafc;

}

.cta-wrapper {

    background: linear-gradient(135deg, #0f172a, #1e293b);

    border-radius: 28px;

    padding: 60px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 50px;

    position: relative;

    overflow: hidden;

}

.cta-wrapper::before {

    content: "";

    position: absolute;

    right: -120px;

    top: -120px;

    width: 280px;

    height: 280px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .05);

}

.cta-content {

    position: relative;

    z-index: 2;

}

.cta-content .eyebrow {

    color: #60a5fa;

}

.cta-content .eyebrow span {

    background: #60a5fa;

}

.cta-content h2 {

    color: #fff;

    font-size: clamp(2.3rem, 5vw, 3.5rem);

    margin: 20px 0;

    line-height: 1.15;

}

.cta-content p {

    color: #cbd5e1;

    line-height: 1.8;

    max-width: 620px;

}

.cta-button {

    position: relative;

    z-index: 2;

}

.cta-button .btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    background: var(--primary);

    color: #fff;

    padding: 18px 36px;

    border-radius: 50px;

    text-decoration: none;

    font-weight: 600;

    transition: .35s;

}

.cta-button .btn:hover {

    background: #3b82f6;

    transform: translateY(-4px);

    box-shadow: 0 15px 35px rgba(37, 99, 235, .35);

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1200px) {

    .process-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}

@media(max-width:992px) {

    .stats-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .cta-wrapper {

        flex-direction: column;

        text-align: center;

        padding: 50px 40px;

    }

    .cta-content p {

        max-width: 100%;

    }

}

@media(max-width:768px) {

    .process-grid {

        grid-template-columns: 1fr;

    }

    .stats-grid {

        grid-template-columns: 1fr;

    }

    .cta-wrapper {

        padding: 40px 25px;

    }

    .cta-content h2 {

        font-size: 2rem;

    }

    .cta-button .btn {

        width: 100%;

        justify-content: center;

    }

}