/* =========================================================
   VISOTECH ENGINEERING
   INDUSTRIES PAGE
   File: assets/css/industries.css
   ========================================================= */


/* =========================================================
   INDUSTRIES HERO
   ========================================================= */

.industries-hero {
    position: relative;
    padding: 110px 0 100px;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.97),
            rgba(30, 64, 175, 0.92)
        );
    color: #ffffff;
}

.industries-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -160px;
    top: -180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.industries-hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    left: -150px;
    bottom: -180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.industries-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.hero-badge i {
    font-size: 15px;
}

.industries-hero h1 {
    max-width: 850px;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.industries-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.8;
}


/* =========================================================
   INDUSTRIES MAIN SECTION
   ========================================================= */

.industries-page {
    padding: 100px 0;
    background: #ffffff;
}

.industries-page .container {
    max-width: 1200px;
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.industries-page .section-header {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.industries-page .section-tag {
    display: inline-block;
    margin-bottom: 12px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.industries-page .section-header h2 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 800;
}

.industries-page .section-header p {
    margin: 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   INDUSTRY GRID
   ========================================================= */

.industry-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}


/* =========================================================
   INDUSTRY CARD
   ========================================================= */

.industry-page-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.industry-page-card:hover {
    transform: translateY(-8px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}


/* =========================================================
   CARD IMAGE
   ========================================================= */

.industry-page-card img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: #f1f5f9;
    transition: transform 0.5s ease;
}

.industry-page-card:hover img {
    transform: scale(1.04);
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.industry-page-card .content {
    padding: 27px 28px 30px;
}

.industry-page-card .content h2 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 750;
}

.industry-page-card .content p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   INDUSTRIES NOTE
   ========================================================= */

.industries-note {
    max-width: 900px;
    margin: 50px auto 0;
    padding: 22px 26px;
    border: 1px solid #dbeafe;
    border-left: 4px solid #2563eb;
    border-radius: 12px;
    background: #eff6ff;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

.industries-note strong {
    color: #0f172a;
}


/* =========================================================
   CTA SECTION
   ========================================================= */

.industries-page + .cta-section {
    padding: 90px 0;
    background: #f8fafc;
}

.cta-section .container {
    max-width: 1200px;
}

.cta-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            #0f172a,
            #1e3a8a
        );
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.15);
}

.cta-wrapper::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -140px;
    top: -180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.cta-wrapper::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    left: -120px;
    bottom: -170px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 65px;
}

.cta-content .section-tag {
    display: inline-block;
    margin-bottom: 13px;
    color: #93c5fd;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.cta-content h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 800;
}

.cta-content p {
    max-width: 700px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   CTA BUTTONS
   ========================================================= */

.cta-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
}


/* =========================================================
   PRIMARY CTA
   ========================================================= */

.cta-buttons .btn-primary {
    background: #2563eb;
    color: #ffffff;
    border: 1px solid #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.cta-buttons .btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}


/* =========================================================
   OUTLINE CTA
   ========================================================= */

.cta-buttons .btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}


/* =========================================================
   IMAGE FALLBACK
   ========================================================= */

.industry-page-card img[src=""],
.industry-page-card img:not([src]) {
    min-height: 240px;
    background: #e2e8f0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 992px) {

    .industries-hero {
        padding: 90px 0 80px;
    }

    .industries-page {
        padding: 80px 0;
    }

    .industry-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .industry-page-card img {
        height: 220px;
    }

    .cta-content {
        padding: 50px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .industries-hero {
        padding: 70px 0 65px;
    }

    .industries-hero h1 {
        font-size: 36px;
    }

    .industries-hero p {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-badge {
        font-size: 12px;
    }

    .industries-page {
        padding: 65px 0;
    }

    .industries-page .section-header {
        margin-bottom: 38px;
    }

    .industries-page .section-header h2 {
        font-size: 30px;
    }

    .industries-page .section-header p {
        font-size: 15px;
    }

    .industry-page-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .industry-page-card img {
        height: 230px;
    }

    .industry-page-card .content {
        padding: 23px;
    }

    .industry-page-card .content h2 {
        font-size: 22px;
    }

    .industry-page-card .content p {
        font-size: 14px;
    }

    .industries-note {
        margin-top: 35px;
        padding: 18px 20px;
        font-size: 14px;
    }

    .industries-page + .cta-section {
        padding: 60px 0;
    }

    .cta-wrapper {
        border-radius: 18px;
    }

    .cta-content {
        padding: 40px 25px;
    }

    .cta-content h2 {
        font-size: 30px;
    }

    .cta-content p {
        font-size: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .industries-hero {
        padding: 55px 0;
    }

    .industries-hero h1 {
        font-size: 31px;
    }

    .industries-page {
        padding: 55px 0;
    }

    .industry-page-card img {
        height: 200px;
    }

    .cta-content {
        padding: 32px 20px;
    }

    .cta-content h2 {
        font-size: 27px;
    }

}