﻿/* ============================================================
   INDUSTRY PAGES — industry.css
   Smart-Tech Recruitment Solutions
   Consistent with site.css + services.css colour palette:
     Primary dark  : #001f68
     Accent blue   : #00a0e3
     Light bg      : #f5f7fb
     Text body     : #555
============================================================ */

/* ============================================================
   ANIMATION KEYFRAMES
============================================================ */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes lineGrow {
    from {
        width: 0;
    }

    to {
        width: 100px;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0,160,227,0.35);
    }

    50% {
        box-shadow: 0 0 0 14px rgba(0,160,227,0);
    }
}

/* ============================================================
   SCROLL-TRIGGERED ANIMATION CLASSES
   Add .anim-ready via JS IntersectionObserver
============================================================ */

.anim {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .anim.from-up {
        transform: translateY(40px);
    }

    .anim.from-left {
        transform: translateX(-50px);
    }

    .anim.from-right {
        transform: translateX(50px);
    }

    .anim.from-scale {
        transform: scale(0.88);
    }

    .anim.visible {
        opacity: 1;
        transform: none;
    }

/* stagger children */
.anim-stagger > *:nth-child(1) {
    transition-delay: 0.05s;
}

.anim-stagger > *:nth-child(2) {
    transition-delay: 0.15s;
}

.anim-stagger > *:nth-child(3) {
    transition-delay: 0.25s;
}

.anim-stagger > *:nth-child(4) {
    transition-delay: 0.35s;
}

.anim-stagger > *:nth-child(5) {
    transition-delay: 0.45s;
}

.anim-stagger > *:nth-child(6) {
    transition-delay: 0.55s;
}

/* ============================================================
   BREADCRUMB BAR
============================================================ */

.ind-breadcrumb {
    background: #001f68;
    padding: 14px 0;
}

.ind-breadcrumb-inner {
    width: 88%;
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}

.ind-breadcrumb a {
    color: #00a0e3;
    text-decoration: none;
    font-weight: 500;
}

    .ind-breadcrumb a:hover {
        text-decoration: underline;
    }

.ind-breadcrumb .sep {
    opacity: 0.5;
}

.ind-breadcrumb .current {
    color: white;
    font-weight: 600;
}

/* ============================================================
   HERO BANNER
============================================================ */

.ind-banner {
    position: relative;
    height: 480px;
    overflow: hidden;
}

    .ind-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.04);
        transition: transform 6s ease;
    }

    .ind-banner:hover img {
        transform: scale(1);
    }

.ind-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,31,104,0.82) 0%, rgba(0,31,104,0.55) 50%, rgba(0,160,227,0.30) 100%);
}

.ind-banner-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 8%;
    animation: fadeUp 0.9s ease both;
}

    .ind-banner-content .ind-tag {
        display: inline-block;
        background: #00a0e3;
        color: white;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        padding: 6px 18px;
        border-radius: 30px;
        margin-bottom: 20px;
        animation: fadeIn 0.6s 0.2s ease both;
    }

    .ind-banner-content h1 {
        font-size: 58px;
        font-weight: 800;
        color: white;
        line-height: 1.1;
        max-width: 750px;
        margin-bottom: 18px;
        animation: fadeUp 0.8s 0.3s ease both;
    }

        .ind-banner-content h1 span {
            color: #00a0e3;
        }

    .ind-banner-content p {
        font-size: 19px;
        color: rgba(255,255,255,0.88);
        max-width: 640px;
        line-height: 1.7;
        animation: fadeUp 0.8s 0.5s ease both;
    }

/* ============================================================
   ACCENT LINE (reusable)
============================================================ */

.ind-accent-line {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #00a0e3, #001f68);
    border-radius: 30px;
    margin: 18px 0 30px;
}

    .ind-accent-line.center {
        margin: 18px auto 30px;
    }

/* ============================================================
   MAIN WRAPPER
============================================================ */

.ind-main {
    padding: 80px 0;
    background: #f5f7fb;
}

.ind-container {
    width: 88%;
    max-width: 1400px;
    margin: auto;
}

/* ============================================================
   INTRO SECTION — image left, content right
============================================================ */

.ind-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 90px;
}

.ind-intro-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,31,104,0.18);
}

    .ind-intro-image img {
        width: 100%;
        height: 520px;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
    }

    .ind-intro-image:hover img {
        transform: scale(1.04);
    }

    /* floating badge on image */
    .ind-intro-image .ind-img-badge {
        position: absolute;
        bottom: 24px;
        left: 24px;
        background: #001f68;
        color: white;
        padding: 14px 22px;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 10px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    }

        .ind-intro-image .ind-img-badge i {
            font-size: 22px;
            color: #00a0e3;
        }

.ind-intro-content {
    background: white;
    padding: 55px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
}

    .ind-intro-content .ind-label {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #00a0e3;
        margin-bottom: 10px;
    }

    .ind-intro-content h2 {
        font-size: 40px;
        font-weight: 800;
        color: #001f68;
        line-height: 1.15;
        margin-bottom: 0;
    }

    .ind-intro-content p {
        font-size: 17px;
        line-height: 1.85;
        color: #555;
        margin-bottom: 20px;
    }

        .ind-intro-content p:last-of-type {
            margin-bottom: 30px;
        }

/* stats row inside intro */
.ind-intro-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.ind-stat {
    background: #f5f7fb;
    border-radius: 12px;
    padding: 16px 22px;
    flex: 1;
    min-width: 110px;
    text-align: center;
    border-bottom: 3px solid #00a0e3;
}

    .ind-stat h3 {
        font-size: 26px;
        font-weight: 800;
        color: #001f68;
    }

    .ind-stat p {
        font-size: 13px;
        color: #777;
        margin: 0;
    }

/* CTA button (reused from services.css pattern) */
.ind-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #00a0e3;
    color: white;
    text-decoration: none;
    padding: 16px 38px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    transition: 0.3s;
}

    .ind-btn:hover {
        background: #007cc0;
        color: white;
        transform: translateY(-2px);
    }

    .ind-btn i {
        font-size: 18px;
    }

/* ============================================================
   SECTION TITLE (centred heading block)
============================================================ */

.ind-section-title {
    text-align: center;
    margin-bottom: 55px;
}

    .ind-section-title .ind-label {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        color: #00a0e3;
        display: block;
        margin-bottom: 10px;
    }

    .ind-section-title h2 {
        font-size: 40px;
        font-weight: 800;
        color: #001f68;
        margin-bottom: 0;
    }

/* ============================================================
   ROLES SECTION — 2-column cards grid
============================================================ */

.ind-roles-section {
    background: white;
    padding: 80px 0;
}

.ind-roles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ind-role-card {
    background: #f5f7fb;
    border-radius: 14px;
    padding: 28px 32px;
    border-left: 5px solid #00a0e3;
    transition: 0.3s;
    cursor: default;
}

    .ind-role-card:hover {
        background: #001f68;
        border-left-color: #00a0e3;
        transform: translateX(6px);
    }

        .ind-role-card:hover .ind-role-title,
        .ind-role-card:hover .ind-role-list li {
            color: white;
        }

.ind-role-title {
    font-size: 18px;
    font-weight: 700;
    color: #001f68;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

    .ind-role-title i {
        font-size: 20px;
        color: #00a0e3;
        flex-shrink: 0;
    }

.ind-role-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .ind-role-list li {
        font-size: 15px;
        color: #555;
        display: flex;
        align-items: flex-start;
        gap: 8px;
        transition: 0.3s;
    }

        .ind-role-list li::before {
            content: '▸';
            color: #00a0e3;
            flex-shrink: 0;
            margin-top: 1px;
        }

/* ============================================================
   WHY THIS INDUSTRY — icon feature cards
============================================================ */

.ind-why-section {
    padding: 80px 0;
    background: #f5f7fb;
}

.ind-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ind-why-card {
    background: white;
    border-radius: 16px;
    padding: 38px 30px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    transition: 0.35s;
    position: relative;
    overflow: hidden;
}

    .ind-why-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #001f68, #00a0e3);
        transform: scaleX(0);
        transition: transform 0.35s ease;
    }

    .ind-why-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 45px rgba(0,31,104,0.12);
    }

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

.ind-why-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #e8f5fd, #d0ecfa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    animation: pulse 3s ease infinite;
}

    .ind-why-icon i {
        font-size: 32px;
        color: #001f68;
    }

.ind-why-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: #001f68;
    margin-bottom: 12px;
}

.ind-why-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

/* ============================================================
   PROCESS STRIP — horizontal numbered steps
============================================================ */

.ind-process-section {
    padding: 80px 0;
    background: #001f68;
}

    .ind-process-section .ind-section-title h2,
    .ind-process-section .ind-section-title .ind-label {
        color: white;
    }

    .ind-process-section .ind-section-title .ind-label {
        color: rgba(255,255,255,0.65);
    }

.ind-process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    position: relative;
}

    /* connector line between steps */
    .ind-process-grid::before {
        content: '';
        position: absolute;
        top: 36px;
        left: calc(8.333% + 18px);
        right: calc(8.333% + 18px);
        height: 3px;
        background: rgba(0,160,227,0.35);
        z-index: 0;
    }

.ind-process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.ind-step-num {
    width: 72px;
    height: 72px;
    background: #00a0e3;
    color: white;
    font-size: 26px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 4px solid rgba(255,255,255,0.15);
    transition: 0.3s;
}

.ind-process-step:hover .ind-step-num {
    background: white;
    color: #001f68;
    transform: scale(1.1);
}

.ind-process-step h4 {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.ind-process-step p {
    font-size: 14px;
    color: rgba(255,255,255,0.68);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   CTA STRIP — full-width dark call-to-action
============================================================ */

.ind-cta {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: 0 4%;
}

    .ind-cta img {
        width: 100%;
        height: 460px;
        object-fit: cover;
        display: block;
        object-position: center 1%;
    }

.ind-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,31,104,0.90) 0%, rgba(0,31,104,0.70) 50%, rgba(0,160,227,0.55) 100%);
}

.ind-cta-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

    .ind-cta-content h2 {
        font-size: 56px;
        font-weight: 800;
        color: white;
        margin-bottom: 18px;
        line-height: 1.1;
    }

        .ind-cta-content h2 span {
            color: #00a0e3;
        }

    .ind-cta-content p {
        font-size: 20px;
        color: rgba(255,255,255,0.88);
        max-width: 700px;
        line-height: 1.75;
        margin-bottom: 36px;
    }

.ind-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #001f68;
    text-decoration: none;
    padding: 17px 44px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    transition: 0.3s;
}

    .ind-btn-white:hover {
        background: #00a0e3;
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 10px 28px rgba(0,160,227,0.4);
    }

/* ============================================================
   RELATED INDUSTRIES SIDEBAR STRIP
============================================================ */

.ind-related {
    padding: 80px 0 90px;
    background: #f5f7fb;
}

.ind-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.ind-related-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(0,0,0,0.06);
    transition: 0.35s;
    display: block;
}

    .ind-related-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 40px rgba(0,31,104,0.14);
    }

.ind-related-card-img {
    height: 160px;
    overflow: hidden;
}

    .ind-related-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.ind-related-card:hover .ind-related-card-img img {
    transform: scale(1.08);
}

.ind-related-card-body {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .ind-related-card-body h5 {
        font-size: 16px;
        font-weight: 700;
        color: #001f68;
        margin: 0;
    }

    .ind-related-card-body i {
        color: #00a0e3;
        font-size: 18px;
        flex-shrink: 0;
    }

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

@media (max-width: 1100px) {
    .ind-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

        .ind-process-grid::before {
            display: none;
        }

    .ind-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ind-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .ind-banner {
        height: 380px;
    }

    .ind-banner-content h1 {
        font-size: 40px;
    }

    .ind-intro {
        grid-template-columns: 1fr;
    }

    .ind-intro-image img {
        height: 380px;
    }

    .ind-intro-content {
        padding: 35px;
    }

        .ind-intro-content h2 {
            font-size: 32px;
        }

    .ind-roles-grid {
        grid-template-columns: 1fr;
    }

    .ind-section-title h2 {
        font-size: 32px;
    }

    .ind-cta-content h2 {
        font-size: 38px;
    }

    .ind-cta-content p {
        font-size: 17px;
    }

    .ind-cta {
        margin: 0 2%;
    }
}

@media (max-width: 600px) {
    .ind-banner-content h1 {
        font-size: 30px;
    }

    .ind-banner-content p {
        font-size: 15px;
    }

    .ind-why-grid {
        grid-template-columns: 1fr;
    }

    .ind-process-grid {
        grid-template-columns: 1fr;
    }

    .ind-related-grid {
        grid-template-columns: 1fr;
    }

    .ind-cta-content h2 {
        font-size: 28px;
    }

    .ind-cta img {
        height: 560px;
    }
}
